Merge pull request #11842 from nextcloud/fix/settings-strict-csp

Fix settings' strict CSP
This commit is contained in:
Morris Jobke 2018-10-17 12:20:04 +02:00 committed by GitHub
commit 7c8b3c1056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 4646 additions and 648 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
settings/js/2.js.map Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,13 +1,10 @@
import Vue from 'vue'
import AdminTwoFactor from './components/AdminTwoFactor'
import AdminTwoFactor from './components/AdminTwoFactor.vue'
__webpack_nonce__ = btoa(OC.requestToken)
Vue.prototype.t = t;
new Vue({
el: '#two-factor-auth-settings',
template: '<AdminTwoFactor/>',
components: {
AdminTwoFactor
}
})
const View = Vue.extend(AdminTwoFactor)
new View().$mount('#two-factor-auth-settings')

View File

@ -40,9 +40,6 @@ module.exports = {
new VueLoaderPlugin()
],
resolve: {
alias: {
'vue$': 'vue/dist/vue.esm.js'
},
extensions: ['*', '.js', '.vue', '.json']
}
}

View File

@ -8,5 +8,5 @@ module.exports = merge(common, {
noInfo: true,
overlay: true
},
devtool: '#eval-source-map',
devtool: 'source-map',
})