Skip to content

Commit

Permalink
fix: patch keystatic
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst committed Jun 4, 2024
1 parent 203bc6f commit 6442901
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@
},
"pnpm": {
"patchedDependencies": {
"@keystatic/[email protected]": "patches/@[email protected]"
"@keystatic/[email protected]": "patches/@[email protected]",
"@keystatic/[email protected]": "patches/@[email protected]"
}
},
"browserslist": {
Expand Down
13 changes: 13 additions & 0 deletions patches/@[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/dist/keystatic-astro.js b/dist/keystatic-astro.js
index c1369a914f3f5cd60f2a2c7b8fe5b08159bc41d5..8d539656d7d41fb96d1fb2bb84ba3ae10ad07a8f 100644
--- a/dist/keystatic-astro.js
+++ b/dist/keystatic-astro.js
@@ -50,7 +50,7 @@ import "@keystatic/core/ui";
// @ts-ignore
entryPoint: '@keystatic/astro/internal/keystatic-api.js',
entrypoint: '@keystatic/astro/internal/keystatic-api.js',
- pattern: '/api/keystatic/[...params]',
+ pattern: '/iran/nomansland/api/keystatic/[...params]',
prerender: false
});
}
7 changes: 5 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6442901

Please sign in to comment.