Skip to content

Commit

Permalink
switch to cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
simonswiss committed Aug 30, 2023
1 parent 113ff56 commit 091b91b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/keystatic.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ const markdocConfig: Config = {
},
};

// const shouldUseCloudStorage = true; // process.env.NODE_ENV === 'production';
const shouldUseCloudStorage = process.env.NODE_ENV === 'production';
// const shouldUseCloudStorage = process.env.NODE_ENV === 'production';
const shouldUseCloudStorage = true;
const pathPrefix = shouldUseCloudStorage ? 'docs/' : '';
export const readerPath = shouldUseCloudStorage
? process.cwd().replace(/\/docs/, '')
Expand All @@ -87,7 +87,7 @@ export default config({
kind: shouldUseCloudStorage ? 'cloud' : 'local',
},
cloud: {
project: 'thinkmill-labs/keystatic-site',
project: 'thinkmill-labs/keystatic-docs',
},
collections: {
// ------------------------------
Expand Down

0 comments on commit 091b91b

Please sign in to comment.