Commit ce160b3a authored by Daeki Yoon's avatar Daeki Yoon
Browse files

from compmath

parent fb983a82
...@@ -49,5 +49,6 @@ ...@@ -49,5 +49,6 @@
"last 1 safari version" "last 1 safari version"
] ]
}, },
"proxy": "http://localhost:3031" "proxy": "http://localhost:3031",
"homepage": "/app/todayku"
} }
...@@ -15,37 +15,37 @@ $theme-colors: map-merge($theme-colors, $custom-colors); ...@@ -15,37 +15,37 @@ $theme-colors: map-merge($theme-colors, $custom-colors);
@font-face { @font-face {
font-family: "Plex-Bold"; font-family: "Plex-Bold";
src: url("../fonts/IBMPlexSansKR-Bold.ttf"); src: local('../fonts/IBMPlexSansKR-Bold.ttf');
} }
@font-face { @font-face {
font-family: "Plex-SemiBold"; font-family: "Plex-SemiBold";
src: url("../fonts/IBMPlexSansKR-SemiBold.ttf"); src: local("../fonts/IBMPlexSansKR-SemiBold.ttf");
} }
@font-face { @font-face {
font-family: "Plex-Medi"; font-family: "Plex-Medi";
src: url("../fonts/IBMPlexSansKR-Medium.ttf"); src: local("../fonts/IBMPlexSansKR-Medium.ttf");
} }
@font-face { @font-face {
font-family: "Plex-Reg"; font-family: "Plex-Reg";
src: url("../fonts/IBMPlexSansKR-Regular.ttf"); src: local("../fonts/IBMPlexSansKR-Regular.ttf");
} }
@font-face { @font-face {
font-family: "Plex-Light"; font-family: "Plex-Light";
src: url("../fonts/IBMPlexSansKR-Light.ttf"); src: local("../fonts/IBMPlexSansKR-Light.ttf");
} }
@font-face { @font-face {
font-family: "Plex-ExtraLight"; font-family: "Plex-ExtraLight";
src: url("../fonts/IBMPlexSansKR-ExtraLight.ttf"); src: local("../fonts/IBMPlexSansKR-ExtraLight.ttf");
} }
@font-face { @font-face {
font-family: "Plex-Text"; font-family: "Plex-Text";
src: url("../fonts/IBMPlexSansKR-Text.ttf"); src: local("../fonts/IBMPlexSansKR-Text.ttf");
} }
h1, h2, h3, h4, h5, h6, label, select { h1, h2, h3, h4, h5, h6, label, select {
......
import clientConfig from './clientConfig' import clientConfig from './clientConfig'
const baseUrl = process.env.NODE_ENV === 'production' const baseUrl = process.env.NODE_ENV === 'production'
? `http://localhost:3001/${clientConfig.serverRoot}` ? `/app/todayku`
: "" : ""
export default baseUrl export default baseUrl
This diff is collapsed.
...@@ -13,6 +13,7 @@ const CURRENT_WORKING_DIR = process.cwd(); ...@@ -13,6 +13,7 @@ const CURRENT_WORKING_DIR = process.cwd();
const app = express(); const app = express();
console.log('current dir', path.join(CURRENT_WORKING_DIR, "client", "build"))
app.use( app.use(
path.join(root_url, "/"), path.join(root_url, "/"),
express.static(path.join(CURRENT_WORKING_DIR, "client", "build")) express.static(path.join(CURRENT_WORKING_DIR, "client", "build"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment