mirror of
https://github.com/v2board/v2board.git
synced 2025-01-10 16:19:10 +08:00
update: remove ga & fix route
This commit is contained in:
parent
f6c6b5fb1c
commit
ed2a3b034e
@ -40,6 +40,9 @@ class RouteController extends Controller
|
|||||||
'action.in' => '动作类型参数有误'
|
'action.in' => '动作类型参数有误'
|
||||||
]);
|
]);
|
||||||
$params['match'] = array_filter($params['match']);
|
$params['match'] = array_filter($params['match']);
|
||||||
|
// TODO: remove on 1.8.0
|
||||||
|
$params['match'] = json_encode($params['match']);
|
||||||
|
// TODO: remove on 1.8.0
|
||||||
if ($request->input('id')) {
|
if ($request->input('id')) {
|
||||||
try {
|
try {
|
||||||
$route = ServerRoute::find($request->input('id'));
|
$route = ServerRoute::find($request->input('id'));
|
||||||
|
@ -59,19 +59,6 @@
|
|||||||
<script src="/theme/{{$theme}}/assets/vendors.async.js?v={{$version}}"></script>
|
<script src="/theme/{{$theme}}/assets/vendors.async.js?v={{$version}}"></script>
|
||||||
<script src="/theme/{{$theme}}/assets/components.async.js?v={{$version}}"></script>
|
<script src="/theme/{{$theme}}/assets/components.async.js?v={{$version}}"></script>
|
||||||
<script src="/theme/{{$theme}}/assets/umi.js?v={{$version}}"></script>
|
<script src="/theme/{{$theme}}/assets/umi.js?v={{$version}}"></script>
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P1E9Z5LRRK"></script>
|
|
||||||
<script>
|
|
||||||
window.dataLayer = window.dataLayer || [];
|
|
||||||
|
|
||||||
function gtag() {
|
|
||||||
dataLayer.push(arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
gtag('js', new Date());
|
|
||||||
|
|
||||||
gtag('config', 'G-P1E9Z5LRRK');
|
|
||||||
</script>
|
|
||||||
@if (file_exists(public_path("/theme/{$theme}/assets/custom.js")))
|
@if (file_exists(public_path("/theme/{$theme}/assets/custom.js")))
|
||||||
<script src="/theme/{{$theme}}/assets/custom.js?v={{$version}}"></script>
|
<script src="/theme/{{$theme}}/assets/custom.js?v={{$version}}"></script>
|
||||||
@endif
|
@endif
|
||||||
|
@ -31,19 +31,6 @@
|
|||||||
<script src="/assets/admin/vendors.async.js?v={{$version}}"></script>
|
<script src="/assets/admin/vendors.async.js?v={{$version}}"></script>
|
||||||
<script src="/assets/admin/components.async.js?v={{$version}}"></script>
|
<script src="/assets/admin/components.async.js?v={{$version}}"></script>
|
||||||
<script src="/assets/admin/umi.js?v={{$version}}"></script>
|
<script src="/assets/admin/umi.js?v={{$version}}"></script>
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P1E9Z5LRRK"></script>
|
|
||||||
<script>
|
|
||||||
window.dataLayer = window.dataLayer || [];
|
|
||||||
|
|
||||||
function gtag() {
|
|
||||||
dataLayer.push(arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
gtag('js', new Date());
|
|
||||||
|
|
||||||
gtag('config', 'G-P1E9Z5LRRK');
|
|
||||||
</script>
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user