Commit d6338b9a by Jonathan Thomas

Updating lots of npm libraries, and fixing paths and other config settings…

Updating lots of npm libraries, and fixing paths and other config settings required by these updates.
parent 08fa99e2
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -17,25 +17,26 @@
},
"dependencies": {
"@popperjs/core": "^2.11.7",
"axios": "^0.24.0",
"axios": "^1.4.0",
"bootstrap": "^5.2.3",
"core-js": "^3.30.0",
"uuid": "^8.3.2",
"core-js": "^3.30.2",
"uuid": "^9.0.0",
"vue": "^3.2.47",
"vue-gtag": "^2.0.1",
"vue-router": "^4.1.6",
"vuex": "^4.1.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.5.19",
"@vue/cli-plugin-eslint": "^4.5.19",
"@vue/cli-plugin-router": "^4.5.19",
"@vue/cli-plugin-vuex": "^4.5.19",
"@vue/cli-service": "^4.5.19",
"@types/node": "^20.1.1",
"@vue/cli-plugin-babel": "^5.0.8",
"@vue/cli-plugin-router": "^5.0.8",
"@vue/cli-plugin-vuex": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"@vue/compiler-sfc": "^3.2.47",
"babel-eslint": "^10.1.0",
"eslint-plugin-vue": "^9.11.1",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^7.0.0"
"path-browserify": "^1.0.1"
},
"eslintConfig": {
"root": true,
......
import {create} from "axios";
import axios from "axios";
// Init a new axios instance, with auth
const instance = create({
const instance = axios.create({
baseURL: process.env.VUE_APP_OPENSHOT_API_URL,
headers: {'X-Requested-With': 'XMLHttpRequest'}
});
// Init a new axios instance, with auth
const blob_instance = create({});
const blob_instance = axios.create({});
// Set the AUTH token for any request
instance.interceptors.request.use(function (config) {
......
......@@ -4,5 +4,12 @@
* @type {import('@vue/cli-service').ProjectOptions}
*/
module.exports = {
publicPath: '/apps/simple-editor/' // Use relative path during build
publicPath: '/apps/simple-editor/', // Use relative path during build
configureWebpack: {
resolve: {
fallback: {
path: require.resolve('path-browserify')
}
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment