mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Update app.js, add blurhash
This commit is contained in:
parent
b3078f274f
commit
f1ab44686b
1 changed files with 1 additions and 0 deletions
1
resources/assets/js/app.js
vendored
1
resources/assets/js/app.js
vendored
|
@ -6,6 +6,7 @@ require('bootstrap');
|
||||||
window.axios = require('axios');
|
window.axios = require('axios');
|
||||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||||
require('readmore-js');
|
require('readmore-js');
|
||||||
|
window.blurhash = require("blurhash");
|
||||||
|
|
||||||
let token = document.head.querySelector('meta[name="csrf-token"]');
|
let token = document.head.querySelector('meta[name="csrf-token"]');
|
||||||
if (token) {
|
if (token) {
|
||||||
|
|
Loading…
Reference in a new issue