You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
569 B
Plaintext

[global]
server.socket_host = "0.0.0.0"
server.socket_port = 8081
[/]
tools.sessions.on = True
tools.staticdir.root = os.path.abspath(os.getcwd())
tools.cors.on = True # ✅ 新增:启用跨域中间件
[/static]
tools.staticdir.on = True
tools.staticdir.dir = "./public"
[/data]
tools.staticdir.on = True
tools.staticdir.dir = "./data"
[/temp]
tools.staticdir.on = True
tools.staticdir.dir = "./temp"
[/views]
tools.staticdir.on = True,
tools.staticdir.dir = "./views"
auth.require = []
[/assets]
tools.staticdir.on = True,
tools.staticdir.dir = "./assets"