Skip to content

Adding external www yields HTTP 301 ./ #62

Description

@uabhabm

I try to start client-application-0.0.6 on a windows workstation.
I adjust config.yaml and point to it at startup.

ui:
  enabled: true
  directory: "/c/Users/habj/xr/ndu-web-gui/dist/ndu-web-gui"

Whwn accessing index.html (available in directory above) I expect to download .html file (HTTP status 200) but get HTTP 301, location ./ (using curl).

Any idea on what to do to enable my web UI service?

$ curl -v http://localhost:8080/index.html

  • Trying 127.0.0.1:8080...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to localhost (127.0.0.1) port 8080 (#0)

GET /index.html HTTP/1.1
Host: localhost:8080
User-Agent: curl/7.83.0
Accept: /

  • Mark bundle as not supporting multiuse
    < HTTP/1.1 301 Moved Permanently
    < Location: ./
    < Date: Sat, 09 Jul 2022 14:49:39 GMT
    < Content-Length: 0
    <
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
  • Connection #0 to host localhost left intact

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions