We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 772dff4 + 7afc411 commit b369bbdCopy full SHA for b369bbd
2 files changed
.dockerignore
@@ -0,0 +1,6 @@
1
+node_modules
2
+.next
3
+*.log
4
+.env
5
+.env.*
6
+.git
src/constants/app.ts
@@ -1,5 +1,6 @@
export const APP_CONFIG = {
- baseUrl: process.env['NEXT_PUBLIC_APP_URL'] as string,
- apiUrl: process.env['NEXT_PUBLIC_API_URL'] as string,
- storageUrl: process.env['NEXT_PUBLIC_STORAGE_URL'] as string
+ baseUrl: process.env['NEXT_PUBLIC_APP_URL'] ?? 'https://teacoder.ru',
+ apiUrl: process.env['NEXT_PUBLIC_API_URL'] ?? 'https://api.teacoder.ru',
+ storageUrl:
+ process.env['NEXT_PUBLIC_STORAGE_URL'] ?? 'https://orion.teacoder.ru'
} as const
0 commit comments