Commit graph

9 commits

Author SHA1 Message Date
Pat Hartl
670975b647 Use version to bust browser cache for static assets 2026-05-31 16:26:32 -05:00
akifreak
a7bd41ff9d Fix game archive upload in web ui
bundle.js is built by webpack as an ES module (output.library.type:
'module'), ending with named exports such as:

  export { Be as ChunkUploader, s as InfiniteScroll, ... }

All three inclusion sites (App.razor, _Layout.cshtml,
ScriptLoader.razor) loaded it via a plain <script> tag, which is for
classic scripts only and does not support the 'export' keyword.

Edge throws a visible SyntaxError and uploading does not work.

Fixed by adding type="module" to the bundle.js script tag in all three
locations.
2026-04-03 21:21:40 +02:00
Pat Hartl
add770b227 Refactor Settings
Settings for the server are now combined with the settings from the SDK. This introduces a large breaking change and a migration should be created. This refactor utilizes .NET Configuration and the Options pattern. This will allow for the overriding of any setting using envionment variables. It also means that Settings.yml can be used to override any .NET configuration. A SettingsProvider implementation was created, and any updating of settings was changed from SettingsService.SaveSettings() to SettingsProvider.Update(s => { ... })
2025-11-16 12:31:25 -06:00
Pat Hartl
1a6ec990a4 Add ability to customize web UI CSS and page rendering CSS 2024-11-30 19:24:02 -06:00
Pat Hartl
a40de21fc7 Rename settings models 2024-10-07 18:38:27 -05:00
Pat Hartl
21afa717bb Consolidate some CSS 2024-08-18 17:02:11 -05:00
Pat Hartl
1e246720fc Fix JS loading 2024-08-18 16:23:09 -05:00
Pat Hartl
9582e2a207 Load frontend libraries properly 2024-08-18 15:48:14 -05:00
Pat Hartl
cb061e09c5 Rename server project 2024-08-04 18:44:33 -05:00
Renamed from LANCommander/UI/Pages/_Layout.cshtml (Browse further)