* script src=/static/dist/budle.js where required

* page module no longer sets 'script_src'
This commit is contained in:
2022-03-22 17:49:09 -07:00
parent 3ad4d4fa14
commit 7c85c656e9
4 changed files with 3 additions and 7 deletions

View File

@@ -8,9 +8,7 @@
<title>Clippable Admin Dashboard</title>
<link rel="shortcut icon" type="image/png" href="/static/favicon.png"/>
<!-- This script basically just provides some convenience to -->
<!-- pre-populate the requests that an admin might make -->
<script src="/static/js/admin.js"></script>
<script src="/static/dist/bundle.js"></script>
</head>
<body>
<div class="content">

View File

@@ -26,7 +26,7 @@
<meta property="og:type" content="website">
<meta property="og:image" content="/static/favicon.png">
{% endif %}
<script src="/static/js/{{script_src}}"></script>
<script src="/static/dist/bundle.js"></script>
</head>
<body>
<div id="layout">

View File

@@ -24,7 +24,7 @@
<meta property="og:video" content="{{clip_url}}">
{% if script %}
<script src="/static/js/{{script_src}}"></script>
<script src="/static/dist/bundle.js"></script>
{% endif %}
</head>
<body>