Merge pull request #11842 from nextcloud/fix/settings-strict-csp
Fix settings' strict CSP
This commit is contained in:
commit
7c8b3c1056
1655
settings/js/1.js
1655
settings/js/1.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3586
settings/js/2.js
3586
settings/js/2.js
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
File diff suppressed because one or more lines are too long
|
@ -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')
|
||||
|
|
|
@ -40,9 +40,6 @@ module.exports = {
|
|||
new VueLoaderPlugin()
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'vue$': 'vue/dist/vue.esm.js'
|
||||
},
|
||||
extensions: ['*', '.js', '.vue', '.json']
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,5 +8,5 @@ module.exports = merge(common, {
|
|||
noInfo: true,
|
||||
overlay: true
|
||||
},
|
||||
devtool: '#eval-source-map',
|
||||
devtool: 'source-map',
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue