Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
Merge branch 'suhogrozdje-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Alid Castano authored and Alid Castano committed Sep 23, 2017
2 parents ec19488 + 8819c43 commit 823a408
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions examples/single-content-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"author": "Alid Castano <[email protected]>",
"dependencies": {
"@nuxtjs/axios": "^2.2.1",
"nuxt": "^1.0.0-rc3",
"nuxtent": "latest"
"nuxt": "^1.0.0-rc11"
},
"scripts": {
"dev": "nuxt",
Expand Down
6 changes: 3 additions & 3 deletions lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function ContentModule(moduleOpts) {
srcDir: '/content',
componentsDir: '/components',
buildDir: `/content`,
isStatic: userOptions.isStatic || process.env.STATIC || false,
isStatic: userOptions.isStatic || process.env.STATIC || false,

content: contentOptions(userOptions.content, {
page: null,
Expand All @@ -67,7 +67,7 @@ export default function ContentModule(moduleOpts) {
},

api: {
baseURL: `http://${host}:${port}`,
baseURL: '',
...userOptions.api,
serverPrefix: `/content-api`,
browserPrefix: `/_nuxt/content`
Expand Down Expand Up @@ -118,4 +118,4 @@ export default function ContentModule(moduleOpts) {
})
}

export { pkg as meta };
export { pkg as meta }

0 comments on commit 823a408

Please sign in to comment.