mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
jsxc: Fix issue with serving static files
During the re-organization of data files into individual apps, a regression for JSXC preventing the symbolic links in the source code from being copied to destination folder during 'setup.py install'. Fix this by removing symbolic links and serving the file using CherryPy mappings with the help of StaticFiles component. Closes: #1180. Tests performed: - Access the following URLs successfully: https://localhost:4430/plinth/static/jsxc/img/menu_black.svg https://localhost:4430/plinth/static/jsxc/libjs-jsxc/jsxc.css https://localhost:4430/plinth/static/jsxc/libjs-jsxc/sound/Ping1.mp3 https://localhost:4430/plinth/static/jsxc/libjs-jsxc/lib/otr/lib/dsa-webworker.js - Login to JSXC, see the roster properly on the right side. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
1 parent
7a0ea38fb1
commit
b80083cfce
5 files changed
+11
-4
No files matched your search
@@ -1 +0,0 @@
|
||||
/usr/share/libjs-jsxc/img/
|
||||
@@ -1 +0,0 @@
|
||||
/usr/share/libjs-jsxc/css/jsxc.css
|
||||
@@ -1 +0,0 @@
|
||||
/usr/share/javascript/jsxc/lib
|
||||
@@ -1 +0,0 @@
|
||||
/usr/share/libjs-jsxc/sound/
|
||||
Reference in new issue
Block a user