URL fixes
This commit is contained in:
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
@@ -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({
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user