Skip to content

Commit

Permalink
Legg til oppsett for production v2 (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
UyQuangNguyen committed Jun 11, 2024
1 parent bd78c35 commit 5f991a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sanity.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ export default defineConfig([
plugins: [sharedConfig()],
auth: auth,
},
{
name: 'prod-v2',
title: 'Produksjon-v2',
projectId: PROSJEKT_ID,
dataset: Dataset.PROD_V2,
basePath: `/${Dataset.PROD_V2}`,
plugins: [sharedConfig()],
auth: auth,
},
{
name: 'test',
title: 'Test',
Expand Down
1 change: 1 addition & 0 deletions util/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ export const PROSJEKT_ID = 'by26nl8j';

export enum Dataset {
PROD = 'production',
PROD_V2 = 'production-v2',
TEST = 'test',
}

0 comments on commit 5f991a8

Please sign in to comment.