- rebuild models/ir_http.py: monkeypatch Request._get_session_and_dbname bind DB by URL prefix (/game/->game, /yt_world/->yt_game), guarded by db_filter - __init__.py import ir_http to load the patch - root cause: dbfilter=^(pengyuthon|school|test|yun|game)$, nginx proxies /game/ with Host:game.pengyuthon.cn; host cannot resolve db -> nodb route table -> /game/api/* 404, login fails - after fix /game/api/codex and /game/api/login return 200 |
||
|---|---|---|
| addons | ||
| assets | ||
| website | ||
| .gitignore | ||
| bazi.html | ||
| deploy_server.sh | ||
| index.html | ||
| login.html | ||
| README.md | ||
| terrain_preview.html | ||
| wc1.js | ||
| wc2.js | ||
| world.html | ||
宇森 (YuSen) - Game Addons
Odoo 模块仓库,为宇森文明经营游戏提供后端支持。
结构
-
- Odoo 自定义模块
- 模块命名规范:
技术栈
- Odoo 18
- PostgreSQL
- HTML5 Canvas (前端)