Skip to content

Commit

Permalink
feat: #1054 新增文章管理功能 - 页面样式优化
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Feb 27, 2024
1 parent cbe428d commit 07ac460
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ venv
__pycache__
cookie.txt
token.txt
pageId.txt

# ext
extension
Expand Down
3 changes: 2 additions & 1 deletion scripts/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,15 @@
URL = 'http://127.0.0.1:6806'
COOKIE = open('cookie.txt').read().strip()
TOKEN = open('token.txt').read().strip()
DEV_PAGE_ID = open('pageId.txt').read().strip()

# 设置环境变量
os.environ['IS_SERVE'] = 'true'
os.environ['VITE_DEFAULT_TYPE'] = 'siyuan'
os.environ['VITE_SIYUAN_API_URL'] = URL
os.environ['VITE_SIYUAN_AUTH_TOKEN'] = TOKEN
os.environ['VITE_SIYUAN_COOKIE'] = COOKIE
os.environ['VITE_SIYUAN_DEV_PAGE_ID'] = "20230815225853-a2ybito"
os.environ['VITE_SIYUAN_DEV_PAGE_ID'] = DEV_PAGE_ID
# os.environ['VITE_CJS_TRACE'] = 'true'
os.environ['VITE_CJS_IGNORE_WARNING'] = 'true'

Expand Down
1 change: 1 addition & 0 deletions src/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ html {
body {
margin: 0;
font-size: 100%;
height: 100%;
}

#app {
Expand Down

0 comments on commit 07ac460

Please sign in to comment.