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
3584
settings/js/2.js
3584
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 Vue from 'vue'
|
||||||
|
|
||||||
import AdminTwoFactor from './components/AdminTwoFactor'
|
import AdminTwoFactor from './components/AdminTwoFactor.vue'
|
||||||
|
|
||||||
|
__webpack_nonce__ = btoa(OC.requestToken)
|
||||||
|
|
||||||
Vue.prototype.t = t;
|
Vue.prototype.t = t;
|
||||||
|
|
||||||
new Vue({
|
const View = Vue.extend(AdminTwoFactor)
|
||||||
el: '#two-factor-auth-settings',
|
new View().$mount('#two-factor-auth-settings')
|
||||||
template: '<AdminTwoFactor/>',
|
|
||||||
components: {
|
|
||||||
AdminTwoFactor
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
|
@ -40,9 +40,6 @@ module.exports = {
|
||||||
new VueLoaderPlugin()
|
new VueLoaderPlugin()
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
|
||||||
'vue$': 'vue/dist/vue.esm.js'
|
|
||||||
},
|
|
||||||
extensions: ['*', '.js', '.vue', '.json']
|
extensions: ['*', '.js', '.vue', '.json']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,5 +8,5 @@ module.exports = merge(common, {
|
||||||
noInfo: true,
|
noInfo: true,
|
||||||
overlay: true
|
overlay: true
|
||||||
},
|
},
|
||||||
devtool: '#eval-source-map',
|
devtool: 'source-map',
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue