Skip to content

Commit fb726fe

Browse files
authoredOct 23, 2024··
null
1 parent 7d96060 commit fb726fe

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎config/systemd/fuoj-client.service

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ After=network.target
77
User=fuoj
88
Group=fuoj
99
WorkingDirectory=/usr/src/fuoj/fu.oj.client
10-
ExecStart=/usr/bin/npm run dev
10+
ExecStart=/usr/bin/npm run start
1111
Environment=NODE_ENV=production
1212
EnvironmentFile=/etc/fuoj/fuoj.env
1313
Restart=always

‎fu.oj.client/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"version": "0.0.0",
55
"type": "module",
66
"scripts": {
7-
"dev": "cross-env NODE_ENV=development vite",
7+
"dev": "vite",
88
"build": "tsc -b && vite build",
9+
"start": "tsc -b && vite build && vite preview",
910
"preview": "vite preview",
1011
"lint": "eslint .",
1112
"format": "prettier --write ."

0 commit comments

Comments
 (0)
Please sign in to comment.