URL fixes

This commit is contained in:
Dennis
2021-07-27 08:32:30 +02:00
parent dfa7b995fc
commit 58ffbe8c74
3 changed files with 3 additions and 3 deletions

2
public/js/app.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -246,7 +246,7 @@ export default {
requestFtpPassword() {
this.$page.props.errors = [];
window.axios.post(this.route('sites.request-ftp-password', this.site.id).url(), this.form)
window.axios.post(this.route('sites.request-ftp-password', this.site.id), this.form)
.then(response => {
if (!response.data.ftp_password) {
this.useNotification({

View File

@@ -103,7 +103,7 @@ export default {
this.results = null;
window.axios.get(this.route('search', {query: this.search}).url())
window.axios.get(this.route('search', {query: this.search}))
.then((response) => {
this.loading = false;
this.totalResults = response.data.total;