Skip to content

Commit

Permalink
Fetch .htaccess file via npm and remove 404 page
Browse files Browse the repository at this point in the history
Ref #422
Close #422
  • Loading branch information
alrra committed Aug 9, 2014
1 parent bd4ece0 commit df959e0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 903 deletions.
4 changes: 3 additions & 1 deletion app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,13 @@ module.exports = function (grunt) {
dest: '<%%= config.dist %>',
src: [
'*.{ico,png,txt}',
'.htaccess',
'images/{,*/}*.webp',
'{,*/}*.html',
'styles/fonts/{,*/}*.*'
]
}, {
src: 'node_modules/apache-server-configs/dist/.htaccess',
dest: '<%%= config.dist %>/.htaccess'
}<% if (includeBootstrap) { %>, {
expand: true,
dot: true,
Expand Down
1 change: 1 addition & 0 deletions app/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.0",
"dependencies": {},
"devDependencies": {
"apache-server-configs": "^2.7.1",
"grunt": "~0.4.1",
"grunt-contrib-copy": "~0.5.0",
"grunt-contrib-concat": "~0.3.0",<% if (coffee) { %>
Expand Down
Loading

0 comments on commit df959e0

Please sign in to comment.