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

[3.x] [HTML5] Debug HTTP server refactor with SSL support, PWA export. #48250

Merged
merged 4 commits into from
Apr 28, 2021

Commits on Apr 27, 2021

  1. [HTML5] Debug HttpServer now runs in web cache subdir.

    Serving all files in that folder and using a known list of mime types.
    Makes it easy to add more exported files, while still playing safe.
    Faless committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    ad160c7 View commit details
    Browse the repository at this point in the history
  2. [HTML5] Optional icon generation, use export name for it.

    We used to only generate the favicon if it was specified in the user
    project settings, now it's optional, will export it to `NAME.icon.png`,
    (falling back to the default project icon if none is set in project
    settings), and the `<link>` tag is added using the `$HEAD_INCLUDE`
    instead of being hardcoded in the template.
    Faless committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    a7f2b72 View commit details
    Browse the repository at this point in the history
  3. [HTML5] HTTP server uses optional SSL.

    Generates a key/cert snakeoil pair or use a custom SSL cert/key.
    This is of course false security, and potentially detrimental for it.
    
    But, so long, those are the requirements browser vendors agreed on to
    use things like the Gamepad API, and more advanced topics like wasm
    threads.
    
    You don't need this if you run on localhost (at least!), but you do
    need this (or a much safer nginx proxy) to try those things on your
    local network (e.g. when debugging a phone, networking, etc).
    Faless committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    cb65f9d View commit details
    Browse the repository at this point in the history
  4. [HTML5] Export as Progressive Web App.

    Adds possibility to export as a progressive web app.
    Allows customizing base icons, display mode, orientation and offline
    page.
    Faless committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    9446be7 View commit details
    Browse the repository at this point in the history