mirror of
https://github.com/vastsa/FileCodeBox.git
synced 2026-11-22 23:17:09 +08:00
fix: 基础目录设置
This commit is contained in:
1 parent
c6d538b2f4
commit
7998607ac4
1 file changed
+1
-1
@@ -79,7 +79,7 @@ async def startup_event():
|
||||
@app.get('/')
|
||||
async def index():
|
||||
return HTMLResponse(
|
||||
content=open('./fcb-fronted/dist/index.html', 'r', encoding='utf-8').read()
|
||||
content=open(BASE_DIR / './fcb-fronted/dist/index.html', 'r', encoding='utf-8').read()
|
||||
.replace('{{title}}', str(settings.name))
|
||||
.replace('{{description}}', str(settings.description))
|
||||
.replace('{{keywords}}', str(settings.keywords))
|
||||
|
||||
Reference in new issue
Block a user