This commit is contained in:
Eugene Pankov 2021-07-07 01:34:44 +02:00
parent 6640c54437
commit 879af5ef3e
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
4 changed files with 5 additions and 4 deletions

View File

@ -3,7 +3,7 @@ html
head
base(href='/')
meta(name='viewport', content='initial-scale=1, minimal-ui, shrink-to-fit=no')
script(src='/build/index.js', defer)
script(src='/static/index.js', defer)
title Tabby
body
app

View File

@ -2,7 +2,7 @@ doctype html
html.tabby
head
meta(charset='UTF-8')
script(src='/build/terminal.js')
script(src='/static/terminal.js')
style#custom-css
style.
body { transition: 0.5s background; }

View File

@ -19,7 +19,6 @@ urlpatterns = [
path('terminal', views.TerminalView.as_view()),
path('app-dist/<version>/<path:path>', views.AppDistView.as_view()),
path('build/<path:path>', views.BuildView.as_view()),
path('', include(router.urls)),
]

View File

@ -1,3 +1,5 @@
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import path, include
from .app.urls import urlpatterns
@ -6,4 +8,4 @@ urlpatterns = [
path('', include(urlpatterns)),
path('api/1/auth/social/', include('social_django.urls', namespace='social')),
path('admin/', admin.site.urls),
]
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)