Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS modules #447

Merged
merged 3 commits into from
Mar 17, 2024
Merged

JS modules #447

merged 3 commits into from
Mar 17, 2024

Commits on Mar 17, 2024

  1. Add Cache-Control for serving static files

    Static files will be rechecked every 3 days instead of unlimited cache time. The Cache-Control header is mandatory in order to make browsers handle cache properly with Go's FileServer. The option can be modified in the server.CacheControl line of the config file.
    sergystepanov committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    92b93ec View commit details
    Browse the repository at this point in the history
  2. Migrate from IIFE to modern ES modules

    These modules should be supported by all contemporary browsers, and this transition should resolve most issues related to the explicit import order of the .js files.
    sergystepanov committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    e04cdb7 View commit details
    Browse the repository at this point in the history
  3. Fix index.html warnings

    sergystepanov committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    8b26449 View commit details
    Browse the repository at this point in the history