Skip to content

Commit 0fc5c47

Browse files
committed
rework
1 parent 89a58bd commit 0fc5c47

6 files changed

Lines changed: 2918 additions & 742 deletions

File tree

‎Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ check: lint test
3030

3131
css-build:
3232
npm install
33-
npx vite build
33+
npx webpack --mode production
3434

3535
run:
3636
uv run flask db upgrade
37-
npx vite build # Build CSS before running the app
37+
npx webpack --mode production # Build CSS before running the app
3838
uv run flask run --host="0.0.0.0" --debug
3939

4040
docker-build:

‎blog/static/src/global/fonts.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
font-family: 'Open Sans';
33
font-style: normal;
44
font-weight: 400;
5-
src: local('Open Sans'), local('OpenSans'), url(/static/fonts/OpenSans.ttf) format('truetype');
5+
src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans.ttf) format('truetype');
66
}
77

88
@font-face {
99
font-family: 'Open Sans';
1010
font-style: normal;
1111
font-weight: 700;
12-
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(/static/fonts/OpenSans-Bold.ttf) format('truetype');
12+
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../fonts/OpenSans-Bold.ttf) format('truetype');
1313
}

0 commit comments

Comments
 (0)