소스 검색

Moves all static content/files in a new folder.

Also clears debian package from including *.js files from source roote folder, files which were not used.
j8
damencho 8 년 전
부모
커밋
1d7da21e48

+ 3
- 3
conference.js 파일 보기

@@ -252,8 +252,8 @@ function maybeRedirectToWelcomePage(options) {
252 252
         // save whether current user is guest or not, before navigating
253 253
         // to close page
254 254
         window.sessionStorage.setItem('guest', APP.tokenData.isGuest);
255
-        assignWindowLocationPathname(
256
-                options.feedbackSubmitted ? "close.html" : "close2.html");
255
+        assignWindowLocationPathname('static/'
256
+                + (options.feedbackSubmitted ? "close.html" : "close2.html"));
257 257
         return;
258 258
     }
259 259
 
@@ -402,7 +402,7 @@ class ConferenceConnector {
402 402
         case ConferenceErrors.NOT_ALLOWED_ERROR:
403 403
             {
404 404
                 // let's show some auth not allowed page
405
-                assignWindowLocationPathname('authError.html');
405
+                assignWindowLocationPathname('static/authError.html');
406 406
             }
407 407
             break;
408 408
 

+ 2
- 1
debian/jitsi-meet-web.install 파일 보기

@@ -1,4 +1,5 @@
1
-*.js					/usr/share/jitsi-meet/
1
+interface_config.js		/usr/share/jitsi-meet/
2
+logging_config.js		/usr/share/jitsi-meet/
2 3
 *.json					/usr/share/jitsi-meet/
3 4
 *.html					/usr/share/jitsi-meet/
4 5
 *.ico					/usr/share/jitsi-meet/

+ 1
- 1
doc/debian/jitsi-meet/jitsi-meet.example 파일 보기

@@ -20,7 +20,7 @@ server {
20 20
 
21 21
     root /usr/share/jitsi-meet;
22 22
     index index.html index.htm;
23
-    error_page 404 /404.html;
23
+    error_page 404 /static/404.html;
24 24
 
25 25
     location /config.js {
26 26
         alias /etc/jitsi/meet/jitsi-meet.example.com-config.js;

+ 2
- 0
doc/debian/jitsi-meet/jitsi-meet.example-apache 파일 보기

@@ -29,6 +29,8 @@
29 29
     Allow from all
30 30
   </Directory>
31 31
 
32
+  ErrorDocument 404 /static/404.html
33
+
32 34
   Alias "/config.js" "/etc/jitsi/meet/jitsi-meet.example.com-config.js"
33 35
   <Location /config.js>
34 36
     Require all granted

+ 1
- 1
index.html 파일 보기

@@ -127,7 +127,7 @@
127 127
             'error', loadErrHandler, true /* capture phase type of listener */);
128 128
     </script>
129 129
     <script><!--#include virtual="/config.js" --></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
130
-    <script src="utils.js?v=1"></script>
130
+    <script src="static/utils.js?v=1"></script>
131 131
     <!--#include virtual="connection_optimization/connection_optimization.html" -->
132 132
     <script src="connection_optimization/do_external_connect.js?v=1"></script>
133 133
     <script><!--#include virtual="/interface_config.js" --></script>

404.html → static/404.html 파일 보기

@@ -1,7 +1,7 @@
1 1
 <html>
2 2
 <head>
3
-    <link rel="stylesheet" href="css/all.css"/>
4
-    <!--#include virtual="title.html" -->
3
+    <link rel="stylesheet" href="../css/all.css"/>
4
+    <!--#include virtual="/title.html" -->
5 5
 </head>
6 6
 <body>
7 7
     <div class="error_page">

authError.html → static/authError.html 파일 보기

@@ -1,7 +1,7 @@
1 1
 <html>
2 2
 <head>
3
-    <link rel="stylesheet" href="css/all.css"/>
4
-    <!--#include virtual="title.html" -->
3
+    <link rel="stylesheet" href="../css/all.css"/>
4
+    <!--#include virtual="/title.html" -->
5 5
 </head>
6 6
 <body>
7 7
     <div class="redirectPageMessage">Sorry! You are not allowed to be here :(</div>

close.html → static/close.html 파일 보기

@@ -1,7 +1,7 @@
1 1
 <html>
2 2
 <head>
3
-    <link rel="stylesheet" href="css/all.css"/>
4
-    <!--#include virtual="title.html" -->
3
+    <link rel="stylesheet" href="../css/all.css"/>
4
+    <!--#include virtual="/title.html" -->
5 5
     <script><!--#include virtual="/interface_config.js" --></script>
6 6
     <script src="close.js"></script>
7 7
 </head>

close.js → static/close.js 파일 보기


close2.html → static/close2.html 파일 보기

@@ -1,7 +1,7 @@
1 1
 <html>
2 2
 <head>
3
-    <link rel="stylesheet" href="css/all.css"/>
4
-    <!--#include virtual="title.html" -->
3
+    <link rel="stylesheet" href="../css/all.css"/>
4
+    <!--#include virtual="/title.html" -->
5 5
     <script><!--#include virtual="/interface_config.js" --></script>
6 6
     <script src="close.js"></script>
7 7
 </head>

utils.js → static/utils.js 파일 보기


Loading…
취소
저장