zilla icon indicating copy to clipboard operation
zilla copied to clipboard

Not able to serve streampay demo UI

Open akrambek opened this issue 7 months ago • 0 comments

Not able to serve streampay demo UI

Steps to reproduce

  1. Build UI by following README in https://github.com/aklivity/zilla-demos/tree/main/extras-containers/streampay/ui
  2. Use below config to server the UI
---
name: zilla-streampay-demo-ui
vaults:
  filesystem0:
    type: filesystem
    options:
      keys:
        store: ./tls/localhost-streampay.p12
        type: pkcs12
        password: generated
bindings:
  tcp_server0:
    type: tcp
    kind: server
    options:
      host: 0.0.0.0
      port: 9090
    exit: http_server0
  http_server0:
    type: http
    kind: server
    exit: http_filesystem_proxy0
  http_filesystem_proxy0:
    type: http-filesystem
    kind: proxy
    routes:
      - when:
          - path: /
        exit: filesystem_server0
        with:
          path: index.html
      - when:
          - path: /{path}
        exit: filesystem_server0
        with:
          path: ${params.path}
  filesystem_server0:
    type: filesystem
    kind: server
    options:
      location: /Users/akramyakubov/workspace/aklivity/zilla-demos/extras-containers/streampay/ui/dist/spa/

**Observed behavior Screenshot 2024-07-24 at 08 36 11 **

As you can see css is not being applied and the response for the CSS is empty.

akrambek avatar Jul 24 '24 03:07 akrambek