mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: put survey and bug report url to backend (#57)
* feat: put survey and bug report url to backend * fix: centralize hardcoded url to config * fix: validate url before redirecting
This commit is contained in:
1 parent
f93b4d757b
commit
4c2f3f5397
8 files changed
+42
-5
No files matched your search
@@ -2,6 +2,7 @@
|
||||
import { onMounted, ref } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { logout } from '../utils/auth'
|
||||
import { bugReportUrl } from '../config'
|
||||
import api from '../utils/api'
|
||||
|
||||
const router = useRouter()
|
||||
@@ -11,8 +12,6 @@ const handleLogout = async () => {
|
||||
router.push({ name: 'login' })
|
||||
}
|
||||
|
||||
const bugReportUrl = 'https://www.surveycake.com/s/gOreA'
|
||||
|
||||
const questData = ref(null)
|
||||
const questErr = ref(null)
|
||||
|
||||
|
||||
Reference in new issue
Block a user