mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
refs https://linear.app/tryghost/issue/AP-469 The first time `useSiteUrl` was called it would return the origin of the admin url, rather than the site url which causes errors in production. Instead of relying on the admin-x-framework to get the site url, we can make the request ourselves and cache it - this ensures that we always have the correct URL. |
||
---|---|---|
.. | ||
public/styles | ||
src | ||
test | ||
.eslintignore | ||
.eslintrc.cjs | ||
.gitignore | ||
index.html | ||
package.json | ||
playwright.config.mjs | ||
postcss.config.cjs | ||
tailwind.config.cjs | ||
tsconfig.json | ||
vite.config.mjs |