Jump to content

manifest.json start url incorrect


Recommended Posts

Posted

I'm on emby server 3.1.5 running on ubuntu 16.04.  Today I had to reinstall my android phone and I use the chrome add to homepage feature for emby.  When adding emby to the homepage the resulting shortcut on the home screen opens a page with an error along the lines of "/usr/lib/emby-server/dashboard-ui/web/index.html does not exist" 

 

I had to change the file dashboard-ui/manifest.json

 

The line:

 

 

"start_url": "web/index.html",

 

should be

 

 

"start_url": "/web/index.html",

 

Posted

According to https://developer.mozilla.org/en-US/docs/Web/Manifest

 

start_url

Specifies the URL that loads when a user launches the application from a device. If given as a relative URL, the base URL will be the URL of the manifest.

 

That explains why using a relative path doesn't work.

Posted

Thanks, we're looking into it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...