Skip to content

Commit

Permalink
Change WordPress.com URL (#30)
Browse files Browse the repository at this point in the history
* Change WordPress.com URL

Installing a third-party theme causes the WordPress.com URL to change.

* Add new CDN domain to image processing allow list
  • Loading branch information
dcalhoun authored Apr 19, 2022
1 parent 2d99786 commit 3cb84d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ const withTM = require("next-transpile-modules")(
module.exports = withTM({
pageExtensions: ["js", "bs.js"],
images: {
domains: ["lifestewardshipllc.files.wordpress.com"],
domains: ["lifestewardshipllc.files.wordpress.com", "i0.wp.com"],
},
});
2 changes: 1 addition & 1 deletion utils/WordPress.res
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module Api = {
external decodePost: Js.Json.t => post = "%identity"
external decodeError: Js.Dict.t<Js.Json.t> => error = "%identity"

let postsUrl = "https://public-api.wordpress.com/wp/v2/sites/lifestewardshipllc.wordpress.com/posts"
let postsUrl = "https://public-api.wordpress.com/wp/v2/sites/lifestewardshipllc.wpcomstaging.com/posts"
let publicStatus = "status=publish,private"
let previewStatus = publicStatus ++ ",draft,pending,future"

Expand Down

1 comment on commit 3cb84d7

@vercel
Copy link

@vercel vercel bot commented on 3cb84d7 Apr 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.