mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 11:26:33 +00:00
fix: hardcoded baseurl - ref to #264
Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
This commit is contained in:
@@ -55,7 +55,7 @@ export default {
|
||||
if (this.$store.state.graphqlClient.list && this.$store.state.graphqlClient.list[0])
|
||||
this.webViewUrl = this.url = this.$store.state.graphqlClient.list[0].url;
|
||||
try {
|
||||
const {info} = (await this.$axios.get(`/nc/${this.$route.params.project_id}/projectApiInfo`, {
|
||||
const {info} = (await this.$axios.get(`${this.$axios.defaults.baseURL}/nc/${this.$route.params.project_id}/projectApiInfo`, {
|
||||
headers: {
|
||||
'xc-auth': this.$store.state.users.token
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user