Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
Today KU
Commits
ce160b3a
Commit
ce160b3a
authored
Nov 06, 2021
by
Daeki Yoon
Browse files
from compmath
parent
fb983a82
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
client/package.json
View file @
ce160b3a
...
@@ -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"
}
}
client/src/scss/custom.scss
View file @
ce160b3a
...
@@ -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
:
ur
l(
"
../fonts/IBMPlexSansKR-Bold.ttf
"
)
;
src
:
loca
l
(
'
../fonts/IBMPlexSansKR-Bold.ttf
'
);
}
}
@font-face
{
@font-face
{
font-family
:
"Plex-SemiBold"
;
font-family
:
"Plex-SemiBold"
;
src
:
ur
l("../fonts/IBMPlexSansKR-SemiBold.ttf")
;
src
:
loca
l
(
"../fonts/IBMPlexSansKR-SemiBold.ttf"
);
}
}
@font-face
{
@font-face
{
font-family
:
"Plex-Medi"
;
font-family
:
"Plex-Medi"
;
src
:
ur
l("../fonts/IBMPlexSansKR-Medium.ttf")
;
src
:
loca
l
(
"../fonts/IBMPlexSansKR-Medium.ttf"
);
}
}
@font-face
{
@font-face
{
font-family
:
"Plex-Reg"
;
font-family
:
"Plex-Reg"
;
src
:
ur
l("../fonts/IBMPlexSansKR-Regular.ttf")
;
src
:
loca
l
(
"../fonts/IBMPlexSansKR-Regular.ttf"
);
}
}
@font-face
{
@font-face
{
font-family
:
"Plex-Light"
;
font-family
:
"Plex-Light"
;
src
:
ur
l("../fonts/IBMPlexSansKR-Light.ttf")
;
src
:
loca
l
(
"../fonts/IBMPlexSansKR-Light.ttf"
);
}
}
@font-face
{
@font-face
{
font-family
:
"Plex-ExtraLight"
;
font-family
:
"Plex-ExtraLight"
;
src
:
ur
l("../fonts/IBMPlexSansKR-ExtraLight.ttf")
;
src
:
loca
l
(
"../fonts/IBMPlexSansKR-ExtraLight.ttf"
);
}
}
@font-face
{
@font-face
{
font-family
:
"Plex-Text"
;
font-family
:
"Plex-Text"
;
src
:
ur
l("../fonts/IBMPlexSansKR-Text.ttf")
;
src
:
loca
l
(
"../fonts/IBMPlexSansKR-Text.ttf"
);
}
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
label
,
select
{
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
label
,
select
{
...
...
client/src/utils/baseUrl.js
View file @
ce160b3a
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
package-lock.json
deleted
100644 → 0
View file @
fb983a82
This diff is collapsed.
Click to expand it.
server/app.js
View file @
ce160b3a
...
@@ -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
"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment