mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Fixed CORS issue with dev server.
This commit is contained in:
@@ -42,10 +42,13 @@ const devWebpackConfig = merge(baseWebpackConfig, {
|
||||
quiet: true, // necessary for FriendlyErrorsPlugin
|
||||
watchOptions: {
|
||||
poll: config.dev.poll,
|
||||
},
|
||||
headers: {
|
||||
'Access-Control-Allow-Origin': '*'
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': require('../config/dev.env')
|
||||
}),
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"build": "node build/build.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mdi/font": "^2.2.43",
|
||||
"buefy": "^0.6.5",
|
||||
"js-cookie": "^2.2.0",
|
||||
"vue": "^2.5.2",
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
</p>
|
||||
<ul class="menu-list">
|
||||
<router-link tag="li" :to="{ name: 'DomainList' }">
|
||||
<a><b-icon pack="fas" icon="user"></b-icon> Domains</a>
|
||||
<a>Domains</a>
|
||||
</router-link>
|
||||
<router-link tag="li" :to="{ name: 'DomainList' }">
|
||||
<a>Identities</a>
|
||||
<a><b-icon icon="account"></b-icon>Identities</a>
|
||||
</router-link>
|
||||
<router-link tag="li" :to="{ name: 'DomainList' }">
|
||||
<a>Logs</a>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import Vue from 'vue'
|
||||
import Buefy from 'buefy'
|
||||
import 'buefy/lib/buefy.css'
|
||||
import '@mdi/font/css/materialdesignicons.css'
|
||||
|
||||
import Cookies from 'js-cookie'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user