mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39: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' => '动作类型参数有误'
|
||||
]);
|
||||
$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')) {
|
||||
try {
|
||||
$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/components.async.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")))
|
||||
<script src="/theme/{{$theme}}/assets/custom.js?v={{$version}}"></script>
|
||||
@endif
|
||||
|
@ -31,19 +31,6 @@
|
||||
<script src="/assets/admin/vendors.async.js?v={{$version}}"></script>
|
||||
<script src="/assets/admin/components.async.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>
|
||||
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user