Skip to content

public path dropping scheme before html generation #359

Description

@steluminary

when using documented MICROBIN_PUBLIC_PATH: variable, each navigation appends another copy of the hostname because the emitted URLs are relative instead of absolute.

To Reproduce
add public path as per documentation
spin up container
access microbin instance

behavior observed... linking navigation links appends new copies of the public path to the url, over and over, the url grows in length.

in html source of the page...
Expected:

<script src="https://microbin...com/static/aes.js"></script>

Observed:

<script src="microbin...com/static/aes.js"></script>

Desktop (please complete the following information):

  • OSX

  • Firefox 152.0.3

  • microbin 2.1.4

  • microbin variables stored in compose.yaml...
    MICROBIN_PUBLIC_PATH: https://microbin...com/
    MICROBIN_QR: true

  • microbin docker image tag
    danielszabo99/microbin:latest

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions