Skip to content

Commit 30ebccf

Browse files
committed
allow empty nimiqNetwork during dev
1 parent 10e33a1 commit 30ebccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default defineNuxtConfig({
3333
slackWebhookUrl: z.string().describe('Slack webhook URL must be a valid string'),
3434
public: z.object({
3535
gitBranch: z.string().describe('Git branch is required'),
36-
nimiqNetwork: z.string().describe('Nimiq network is required').refine(value => ['main-albatross', 'test-albatross'].includes(value), {
36+
nimiqNetwork: z.string().describe('Nimiq network is required').refine(value => !value || ['main-albatross', 'test-albatross'].includes(value), {
3737
message: 'Nimiq network must be one of: main-albatross, test-albatross',
3838
}),
3939
}),

0 commit comments

Comments
 (0)