Skip to content

cli option for the web base path or use relative paths #1159

@steverweber

Description

@steverweber

When using invokeai in --web mode the html uses paths like /assets/index.58175ea1.css the issue is the base path is different because under a proxy. In my case users are using Jupyter with the jupyter-server-proxy module and have a path like https://jupyter.xxx/user/myid/proxy/9090/

Describe the solution you'd like

perhaps a CLI switch like --web_basepath=. So --web_basepath=/user/myid/proxy/9090/

Describe alternatives you've considered

Or perhaps relative paths will work best if it's a single page application assets/index.58175ea1.css

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions