Skip to content

Commit

Permalink
#28 - Format
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikpyt committed Oct 13, 2023
1 parent e8b67ff commit 7517869
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/plugins/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ declare module 'fastify' {
REDIS_URL: string;
NODE_ENV: NODE_ENV;
ALLOWED_ORIGINS: string[];
PUSHER_APP_ID: string;
PUSHER_APP_KEY: string;
PUSHER_APP_SECRET: string;
PUSHER_APP_CLUSTER: string;
PUSHER_APP_ID: string;
PUSHER_APP_KEY: string;
PUSHER_APP_SECRET: string;
PUSHER_APP_CLUSTER: string;
};
}
}
Expand All @@ -47,10 +47,10 @@ export default fastifyPlugin(
'DATABASE_URL_NON_POOLING',
'REDIS_URL',
'BLOB_READ_WRITE_TOKEN',
'PUSHER_APP_ID',
'PUSHER_APP_KEY',
'PUSHER_APP_SECRET',
'PUSHER_APP_CLUSTER',
'PUSHER_APP_ID',
'PUSHER_APP_KEY',
'PUSHER_APP_SECRET',
'PUSHER_APP_CLUSTER',
],
properties: {
SECRET: {
Expand Down Expand Up @@ -91,18 +91,18 @@ export default fastifyPlugin(
separator: ',',
default: 'http://localhost:4321',
},
PUSHER_APP_ID: {
type: 'string',
},
PUSHER_APP_KEY: {
type: 'string',
},
PUSHER_APP_SECRET: {
type: 'string',
},
PUSHER_APP_CLUSTER: {
type: 'string',
},
PUSHER_APP_ID: {
type: 'string',
},
PUSHER_APP_KEY: {
type: 'string',
},
PUSHER_APP_SECRET: {
type: 'string',
},
PUSHER_APP_CLUSTER: {
type: 'string',
},
},
};

Expand Down

0 comments on commit 7517869

Please sign in to comment.