Skip to content

Commit

Permalink
Merge pull request #169 from spryker-community/ks-loud
Browse files Browse the repository at this point in the history
Ks cloud
  • Loading branch information
gxjansen authored Nov 26, 2024
2 parents 1945b9e + 333e38a commit 007624f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
9 changes: 4 additions & 5 deletions keystatic.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ import { config, fields, collection } from '@keystatic/core';

export default config({
storage: {
kind: 'github',
repo: {
owner: 'spryker-community',
name: 'commercequest-website'
},
kind: 'cloud',
},
cloud: {
project: 'commercequest/cq-astro',
},
ui: {
brand: {
Expand Down
9 changes: 9 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,29 @@
command = "npm run build"
publish = "dist"

[[redirects]]
from = "/api/keystatic/github/oauth/callback"
to = "/.netlify/functions/entry"
status = 200
force = true

[[redirects]]
from = "/api/keystatic/*"
to = "/.netlify/functions/entry"
status = 200
force = true

[[redirects]]
from = "/keystatic"
to = "/.netlify/functions/entry"
status = 200
force = true

[[redirects]]
from = "/keystatic/*"
to = "/.netlify/functions/entry"
status = 200
force = true

[[redirects]]
from = "/*"
Expand Down

0 comments on commit 007624f

Please sign in to comment.