Skip to content

Commit b369bbd

Browse files
authored
Merge pull request #60 from teacoder-team/dev
Dev
2 parents 772dff4 + 7afc411 commit b369bbd

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
.next
3+
*.log
4+
.env
5+
.env.*
6+
.git

src/constants/app.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export const APP_CONFIG = {
2-
baseUrl: process.env['NEXT_PUBLIC_APP_URL'] as string,
3-
apiUrl: process.env['NEXT_PUBLIC_API_URL'] as string,
4-
storageUrl: process.env['NEXT_PUBLIC_STORAGE_URL'] as string
2+
baseUrl: process.env['NEXT_PUBLIC_APP_URL'] ?? 'https://teacoder.ru',
3+
apiUrl: process.env['NEXT_PUBLIC_API_URL'] ?? 'https://api.teacoder.ru',
4+
storageUrl:
5+
process.env['NEXT_PUBLIC_STORAGE_URL'] ?? 'https://orion.teacoder.ru'
56
} as const

0 commit comments

Comments
 (0)