Commit d9fd6c92 authored by hanfeng zhang's avatar hanfeng zhang

321

parent 6300bfda
#!/usr/bin/env bash
tar -czvf kor.tar kor
scp kor.tar root@121.40.18.70:/usr/share/nginx/html/kor.tar
rm -rf kor.tar
ssh root@121.40.18.70 'cd /usr/share/nginx/html && rm -rf kor && tar -xzvf kor.tar && rm -rf kor.tar && /usr/sbin/nginx -s reload'
\ No newline at end of file
......@@ -5,6 +5,7 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"deploy": "vue-cli-service build&&bash ./deploy.sh",
"lint": "vue-cli-service lint"
},
"dependencies": {
......
......@@ -22,9 +22,7 @@ export default class BaseService {
return ret
}
}
this.service.post = (...res) => post(...res).then(ret => resolveData(ret.data)).catch(err => {
resolveData(err.response.data)
});
this.service.interceptors.request.use()
}
......
const colors = require('tailwindcss/colors')
module.exports = {
purge: [],
purge: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
presets: [],
darkMode: false, // or 'media' or 'class'
theme: {
......
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