fix app.js with url_prefix
This commit is contained in:
parent
c5cc233aaf
commit
14b4f28a1a
3 changed files with 6 additions and 3 deletions
|
|
@ -7,6 +7,9 @@
|
|||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
||||
<meta name="description" content="Free and Open Source Machine Translation API. 100% self-hosted, offline capable and easy to setup. Run your own API server in just a few minutes.">
|
||||
<meta name="keywords" content="translation,api">
|
||||
<script type="text/javascript">
|
||||
var url_prefix = "{{ url_prefix }}"
|
||||
</script>
|
||||
|
||||
<link rel="preload" href="{{ url_for('static', filename='icon.svg') }}" as="image" />
|
||||
<link rel="preload" href="{{ url_for('static', filename='js/vue@2.js') }}" as="script">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue