Copy website_example to website/, add static file serving via Node fs in the API default route handler, and remove website/ from .gitignore. The API now serves index.html at / and all static assets by path. Co-Authored-By: Virgil <virgil@lethean.io>
1 line
No EOL
172 B
JavaScript
1 line
No EOL
172 B
JavaScript
var langs = { 'en': 'English', 'es': 'Español', 'fr': 'Français', 'it': 'Italiano', 'ru': 'Русский', 'ca': 'Català', 'ko': '한국어', 'zh-CN': '简体中文' }; |