Skip to content

Commit

Permalink
webapp: Add a symbolic link to allow access to settings sub-urls.
Browse files Browse the repository at this point in the history
URLs such as http://localhost:6744/settings/general were giving a 404
error if bookmarked or refeshed. Adding a link to settings in the html
directory avoids this problem.
  • Loading branch information
bennettpeter committed Aug 4, 2022
1 parent 131da0f commit f97e15a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mythtv/html/html.pro
Expand Up @@ -9,4 +9,8 @@ html.files += mythbackend.html mythfrontend.html
html.files += css images js misc setup samples tv
html.files += 3rdParty xslt video debug apps assets

# This solves a problem with refresh or bookmark of http://localhost:6744/settings/xxxxx
# where xxxxx can be any of several angular settings URLs
html.extra = ln -sf $(INSTALL_ROOT)/usr/share/mythtv/html $(INSTALL_ROOT)/usr/share/mythtv/html/settings

INSTALLS += html

0 comments on commit f97e15a

Please sign in to comment.