Skip to content

Commit

Permalink
Doctrine Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cesurapp committed Jun 6, 2021
1 parent 56d083d commit f5bd3da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion assets/admin/core/components/datatable/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default {
})
},
getApiUrl() {
let api = new URL(this.dataApi, /\b(http:\/\/|https:\/\/)/.test(this.dataApi) ? null : window.location.origin);
let api = new URL(this.dataApi, /\b(http:\/\/|https:\/\/)/.test(this.dataApi) ? this.dataApi : window.location.origin);
// Filters
this.columns.forEach((column) => {
Expand Down
1 change: 0 additions & 1 deletion config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
doctrine:
dbal:
url: '%env(resolve:DATABASE_URL)%'
override_url: true

# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
Expand Down

0 comments on commit f5bd3da

Please sign in to comment.