Skip to content

Commit

Permalink
Change cms config - test endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalibor Hon committed Jan 2, 2024
1 parent e228a69 commit efc9aba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/components/react/cms/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ export const config: Config = {
local_backend: true,
backend: {
name: "git-gateway",
site_domain: "https://daliborhon-dev.netlify.app",
auth_endpoint: "/.netlify/identity/",
//repo: "dallyh/daliborhon.dev",
//site_domain: "fe45932a-7f17-4972-a91c-346bcf16134a", // Netlify Site ID sent do "site_id" URL query
branch: "blog-test",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/admin/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ import Admin from "@components/react/cms/admin";
<body id="root">
<div id="identity"></div>
<Admin client:only="react" />
<script is:inline>
<!-- <script is:inline>
window.localStorage.setItem("netlifySiteURL", "https://daliborhon-dev.netlify.app/");
const identityOptions = {
APIUrl: "https://daliborhon-dev.netlify.app/.netlify/identity/",
locale: "en",
};
window.netlifyIdentity.init(identityOptions);
</script>
</script> -->
</body>
</html>

0 comments on commit efc9aba

Please sign in to comment.