Skip to content

Commit

Permalink
fix: remove fingerprint on jpg/pdf referenced in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatWizard committed Dec 4, 2021
1 parent c3df216 commit 15ce074
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/controllers/club.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Controller from '@ember/controller';
import { A } from '@ember/array';
import env from 'site-aiki3/config/environment';
import config from 'site-aiki3/config/environment';

const { rootURL } = env;
const { rootURL } = config;

export default class ClubController extends Controller {
gallery = A([
Expand Down
4 changes: 2 additions & 2 deletions app/controllers/links.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Controller from '@ember/controller';
import { A } from '@ember/array';
import env from 'site-aiki3/config/environment';
import config from 'site-aiki3/config/environment';

const { rootURL } = env;
const { rootURL } = config;

export default class LinksController extends Controller {
linkItems = A([
Expand Down
3 changes: 3 additions & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ module.exports = function (defaults) {
importBootstrapFont: false,
importBootstrapCSS: false,
},
fingerprint: {
exclude: ['assets/gallery_*.jpg', 'assets/link_*.jpg', 'assets/*.pdf'],
},
});

return app.toTree();
Expand Down

0 comments on commit 15ce074

Please sign in to comment.