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:
Lin, Hung-Shin authored and GitHub committed 2023-11-03 21:32:12 +08:00
1 parent f93b4d757b
commit 4c2f3f5397
8 files changed
+42 -5

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
export const surveyUrl = '/api/v1/survey'
export const bugReportUrl = '/api/v1/bug-report'
export default {
surveyUrl,
bugReportUrl,
}