Skip to content
This repository was archived by the owner on Apr 12, 2023. It is now read-only.

Commit 1d827f7

Browse files
committed
Set basepath to root. Fixes #103
1 parent c559af4 commit 1d827f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ npm run graphql-deploy
103103
# Deploy the Sanity Studio to *.sanity.studio
104104
npm run sanity-deploy
105105

106-
# Build & deploy to Zeit's Now
106+
# Build & deploy to Zeit's Now. Remember to set `basePath` to "/studio" in sanity.json
107107
npm run now-deploy
108108
```
109109

studio/sanity.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"project": {
88
"name": "Gatsby Demo",
9-
"basePath": "/studio"
9+
"basePath": "/"
1010
},
1111
"plugins": [
1212
"@sanity/base",

0 commit comments

Comments
 (0)