Skip to content

Broken URLs within <script> for /upstream/* #192

@mord0d

Description

@mord0d

Describe the bug

URLs in /upstream/* not substituted within <script>...</script>.

Web console output (from the browser):

...
/previews:1
 Failed to load resource: the server responded with a status of 404 (Not Found)
/models:1
 Failed to load resource: the server responded with a status of 404 (Not Found)
...

Expected behaviour

/ replaced by /upstream/<model>/.
E.g. /previews/upstream/sd/previews.

Operating system and version

  • OS: FreeBSD 14.3-RELEASE
  • GPUs: NONE

My Configuration

healthCheckTimeout: 60
logLevel: warn
startPort: 9001
models:
  "sd":
    ttl: 1800
    checkEndpoint: none
    unlisted: true
    cmd: >
      /ai/sd-server
      --clip-on-cpu
      --model /ai/sd-1.5.safetensors
      --port ${PORT}
      --vae-on-cpu
      --verbose
groups:
  "all":
    swap: false
    exclusive: false
    persistent: true
    members:
      - "sd"

Proxy Logs

EMPTY

Upstream Logs

EMPTY

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions