server checks if current device is mobile device, and let browser navigate to specific pages

This commit is contained in:
MaysWind
2020-11-20 22:52:44 +08:00
parent 80ce5a7f73
commit 1ba9790a42
5 changed files with 23 additions and 3 deletions
+6 -2
View File
@@ -1,7 +1,11 @@
<template>
<div>Not Implemented</div>
<div></div>
</template>
<script>
export default {}
export default {
created() {
location.href = '../mobile/'
}
}
</script>
+6
View File
@@ -69,6 +69,12 @@ const licenses = [
url: 'https://github.com/mattn/go-sqlite3',
licenseUrl: 'https://github.com/mattn/go-sqlite3/blob/master/LICENSE'
},
{
name: 'UserAgent',
copyright: 'Copyright (c) 2012-2020 Miquel Sabaté Solà',
url: 'https://github.com/mssola/user_agent',
licenseUrl: 'https://github.com/mssola/user_agent/blob/master/LICENSE'
},
{
name: 'Go Cryptography',
copyright: 'Copyright (c) 2009 The Go Authors. All rights reserved.',