privateone commited on
Commit
38342f7
·
1 Parent(s): 12a8852

Code Updates & SeveralFixes

Browse files
FileStream/server/APP/__init__.py CHANGED
@@ -12,12 +12,12 @@ from FileStream.Exceptions import FIleNotFound, InvalidHash
12
 
13
  async def handle_v2(request):
14
  return web.Response(text="Hello from app v2!")
15
-
16
  sub_app = web.Application()
17
 
18
 
19
- static_dir = os.path.join("FileStream", "bot", "server", "template")
20
- sub_app.router.add_static('/static/', path=static_dir, name='static')
21
 
22
 
23
  sub_app.router.add_get('/', handle_v2)
 
12
 
13
  async def handle_v2(request):
14
  return web.Response(text="Hello from app v2!")
15
+
16
  sub_app = web.Application()
17
 
18
 
19
+ #static_dir = os.path.join("FileStream", "bot", "server", "template")
20
+ #sub_app.router.add_static('/static/', path=static_dir, name='static')
21
 
22
 
23
  sub_app.router.add_get('/', handle_v2)
FileStream/server/template/play.html CHANGED
@@ -166,6 +166,6 @@
166
  });
167
  </script>
168
  <script src="https://cdn.plyr.io/3.6.9/plyr.js"></script>
169
- <script type="text/javascript" src="/static/owner.js" ></script>
170
 
171
  </html>
 
166
  });
167
  </script>
168
  <script src="https://cdn.plyr.io/3.6.9/plyr.js"></script>
169
+ <script type="text/javascript" src="./template/owner.js" ></script>
170
 
171
  </html>