mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-08 12:07:42 +08:00
remove meta.js
file
This commit is contained in:
parent
0b516d02c5
commit
b8188c91be
@ -7,7 +7,6 @@
|
|||||||
coverage/
|
coverage/
|
||||||
node_modules/
|
node_modules/
|
||||||
plugins/**
|
plugins/**
|
||||||
public/meta.js
|
|
||||||
public/app/*
|
public/app/*
|
||||||
public/lang/*
|
public/lang/*
|
||||||
public/plugins/**
|
public/plugins/**
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -25,4 +25,3 @@ storage/options.php
|
|||||||
.phpunit.result.cache
|
.phpunit.result.cache
|
||||||
.php-cs-fixer.cache
|
.php-cs-fixer.cache
|
||||||
resources/views/overrides
|
resources/views/overrides
|
||||||
public/meta.js
|
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
const blessingElement = document.querySelector('#blessing-globals')!
|
|
||||||
// @ts-ignore
|
|
||||||
window.blessing = JSON.parse(blessingElement.textContent!)
|
|
||||||
|
|
||||||
export {}
|
|
@ -9,8 +9,7 @@
|
|||||||
{% if custom_cdn_host %}
|
{% if custom_cdn_host %}
|
||||||
<link rel="preconnect" href="{{ custom_cdn_host }}" id="cdn-host" crossorigin>
|
<link rel="preconnect" href="{{ custom_cdn_host }}" id="cdn-host" crossorigin>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<script id="blessing-globals" type="application/json">{{ blessing|json_encode|raw }}</script>
|
<script>window.blessing = {{ blessing|json_encode|raw }}</script>
|
||||||
<script src="{{ url('/meta.js') }}"></script>
|
|
||||||
{{ include('assets.style', ignore_missing = true) }}
|
{{ include('assets.style', ignore_missing = true) }}
|
||||||
{% for link in links %}
|
{% for link in links %}
|
||||||
<link{% for attribute, value in link %} {{ attribute }}="{{ value|raw }}"{% endfor %}>
|
<link{% for attribute, value in link %} {{ attribute }}="{{ value|raw }}"{% endfor %}>
|
||||||
|
Loading…
Reference in New Issue
Block a user