aboutsummaryrefslogtreecommitdiff
path: root/src/site/components/uploader
diff options
context:
space:
mode:
authorPitu <[email protected]>2020-12-25 20:45:22 +0900
committerPitu <[email protected]>2020-12-25 20:45:22 +0900
commitec2f9e0d989792c1760b48e063467cf6e59c580a (patch)
tree6f447aeebe9af7be57ba15e23851a4611568ec3e /src/site/components/uploader
parentchore: style changes (diff)
downloadhost.fuwn.me-ec2f9e0d989792c1760b48e063467cf6e59c580a.tar.xz
host.fuwn.me-ec2f9e0d989792c1760b48e063467cf6e59c580a.zip
Rebrand
Diffstat (limited to 'src/site/components/uploader')
-rw-r--r--src/site/components/uploader/Uploader.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/site/components/uploader/Uploader.vue b/src/site/components/uploader/Uploader.vue
index 6d17e4a..70acf91 100644
--- a/src/site/components/uploader/Uploader.vue
+++ b/src/site/components/uploader/Uploader.vue
@@ -127,7 +127,7 @@ export default {
maxFilesize: this.config.maxFileSize,
previewTemplate: this.$refs.template.innerHTML,
dictDefaultMessage: 'Drag & Drop your files or click to browse',
- headers: { Accept: 'application/vnd.lolisafe.json' }
+ headers: { Accept: 'application/vnd.chibisafe.json' }
};
this.showDropzone = true;
if (this.loggedIn) this.getAlbums();
@@ -152,7 +152,7 @@ export default {
*/
updateDropzoneConfig() {
this.$refs.el.setOption('headers', {
- Accept: 'application/vnd.lolisafe.json',
+ Accept: 'application/vnd.chibisafe.json',
Authorization: this.token ? `Bearer ${this.token}` : '',
albumId: this.selectedAlbum ? this.selectedAlbum : null
});