fix: frontend custom server 삭제, 회원가입 수정

This commit is contained in:
shinmj
2021-12-29 14:00:24 +09:00
parent 5582834ab7
commit 9123b92e92
10 changed files with 97 additions and 90 deletions

View File

@@ -5,6 +5,7 @@ const port = process.env.PORT || 3000
const serverApiUrl = process.env.SERVER_API_URL || 'http://localhost:8000'
const siteId = process.env.SITE_ID || '3'
const mode = siteId === '2' ? 'lg' : siteId === '3' ? 'sm' : 'sm'
const socialLoginEnabled = process.env.SOCIAL_LOGIN_ENABLED || 'false'
module.exports = {
i18n,
@@ -14,6 +15,7 @@ module.exports = {
MODE: mode,
SERVER_API_URL: serverApiUrl,
SITE_ID: siteId,
SOCIAL_LOGIN_ENABLED: socialLoginEnabled,
},
async rewrites() {
return [