Skip to content

Commit

Permalink
changes nitro preset for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
fos7er committed Oct 29, 2023
1 parent 8014390 commit fb54782
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default defineNuxtConfig({
app: {
//remove this line if you're not using sub route like https://your-site.com/resume/
baseURL: process.env.BASE_URL,
buildAssetsDir: '/_nuxt/',
head: {
link: [
{ rel: 'icon', type: 'image/png', href: '/favicon.png' },
Expand Down Expand Up @@ -83,6 +82,7 @@ export default defineNuxtConfig({
},
nitro: {
// https://nitro.unjs.io/config#compresspublicassets
compressPublicAssets: true
compressPublicAssets: true,
preset: 'github-pages'
}
})
Empty file removed src/public/.nojekyll
Empty file.

0 comments on commit fb54782

Please sign in to comment.