Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Moves all static content/files in a new folder.

damencho1d7da21e48b4
diff --git a/conference.js b/conference.js
index 51105daf06..8ec3bb43c8 100644
--- a/conference.js
+++ b/conference.js
@@ -252,8 +252,8 @@ function maybeRedirectToWelcomePage(options) {
// save whether current user is guest or not, before navigating
// to close page
window.sessionStorage.setItem('guest', APP.tokenData.isGuest);
- assignWindowLocationPathname(
- options.feedbackSubmitted ? "close.html" : "close2.html");
+ assignWindowLocationPathname('static/'
+ + (options.feedbackSubmitted ? "close.html" : "close2.html"));
return;
}
@@ -402,7 +402,7 @@ class ConferenceConnector {
case ConferenceErrors.NOT_ALLOWED_ERROR:
{
// let's show some auth not allowed page
- assignWindowLocationPathname('authError.html');
+ assignWindowLocationPathname('static/authError.html');
}
break;
diff --git a/debian/jitsi-meet-web.install b/debian/jitsi-meet-web.install
index e812e10354..3db7ea181c 100644
--- a/debian/jitsi-meet-web.install
+++ b/debian/jitsi-meet-web.install
@@ -1,4 +1,5 @@
-*.js /usr/share/jitsi-meet/
+interface_config.js /usr/share/jitsi-meet/
+logging_config.js /usr/share/jitsi-meet/
*.json /usr/share/jitsi-meet/
*.html /usr/share/jitsi-meet/
*.ico /usr/share/jitsi-meet/
diff --git a/doc/debian/jitsi-meet/jitsi-meet.example b/doc/debian/jitsi-meet/jitsi-meet.example
index 28797c6a2c..eb6f1c6f48 100644
--- a/doc/debian/jitsi-meet/jitsi-meet.example
+++ b/doc/debian/jitsi-meet/jitsi-meet.example
@@ -20,7 +20,7 @@ server {
root /usr/share/jitsi-meet;
index index.html index.htm;
- error_page 404 /404.html;
+ error_page 404 /static/404.html;
location /config.js {
alias /etc/jitsi/meet/jitsi-meet.example.com-config.js;
diff --git a/doc/debian/jitsi-meet/jitsi-meet.example-apache b/doc/debian/jitsi-meet/jitsi-meet.example-apache
index 3776f0d243..713f8144b7 100644
--- a/doc/debian/jitsi-meet/jitsi-meet.example-apache
+++ b/doc/debian/jitsi-meet/jitsi-meet.example-apache
@@ -29,6 +29,8 @@
Allow from all
</Directory>
+ ErrorDocument 404 /static/404.html
+
Alias "/config.js" "/etc/jitsi/meet/jitsi-meet.example.com-config.js"
<Location /config.js>
Require all granted
diff --git a/index.html b/index.html
index e6a5839fd5..b6914c6ba4 100644
--- a/index.html
+++ b/index.html
@@ -127,7 +127,7 @@
'error', loadErrHandler, true /* capture phase type of listener */);
</script>
<script><!--#include virtual="/config.js" --></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
- <script src="utils.js?v=1"></script>
+ <script src="static/utils.js?v=1"></script>
<!--#include virtual="connection_optimization/connection_optimization.html" -->
<script src="connection_optimization/do_external_connect.js?v=1"></script>
<script><!--#include virtual="/interface_config.js" --></script>
diff --git a/404.html b/static/404.html
similarity index 68%
rename from 404.html
rename to static/404.html
index fba9a69dfe..59def65397 100644
--- a/404.html
+++ b/static/404.html
@@ -1,7 +1,7 @@
<html>
<head>
- <link rel="stylesheet" href="css/all.css"/>
- <!--#include virtual="title.html" -->
+ <link rel="stylesheet" href="../css/all.css"/>
+ <!--#include virtual="/title.html" -->
</head>
<body>
<div class="error_page">
diff --git a/authError.html b/static/authError.html
similarity index 54%
rename from authError.html
rename to static/authError.html
index 19954d9f72..3e8f90c1ef 100644
--- a/authError.html
+++ b/static/authError.html
@@ -1,7 +1,7 @@
<html>
<head>
- <link rel="stylesheet" href="css/all.css"/>
- <!--#include virtual="title.html" -->
+ <link rel="stylesheet" href="../css/all.css"/>
+ <!--#include virtual="/title.html" -->
</head>
<body>
<div class="redirectPageMessage">Sorry! You are not allowed to be here :(</div>
diff --git a/close.html b/static/close.html
similarity index 84%
rename from close.html
rename to static/close.html
index 14de8c33fd..37a1b2003c 100644
--- a/close.html
+++ b/static/close.html
@@ -1,7 +1,7 @@
<html>
<head>
- <link rel="stylesheet" href="css/all.css"/>
- <!--#include virtual="title.html" -->
+ <link rel="stylesheet" href="../css/all.css"/>
+ <!--#include virtual="/title.html" -->
<script><!--#include virtual="/interface_config.js" --></script>
<script src="close.js"></script>
</head>
diff --git a/close.js b/static/close.js
similarity index 100%
rename from close.js
rename to static/close.js
diff --git a/close2.html b/static/close2.html
similarity index 85%
rename from close2.html
rename to static/close2.html
index f2bd011b90..22fa933a24 100644
--- a/close2.html
+++ b/static/close2.html
@@ -1,7 +1,7 @@
<html>
<head>
- <link rel="stylesheet" href="css/all.css"/>
- <!--#include virtual="title.html" -->
+ <link rel="stylesheet" href="../css/all.css"/>
+ <!--#include virtual="/title.html" -->
<script><!--#include virtual="/interface_config.js" --></script>
<script src="close.js"></script>
</head>
diff --git a/utils.js b/static/utils.js
similarity index 100%
rename from utils.js
rename to static/utils.js