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

Commit 823a408

Browse files
Alid CastanoAlid Castano
authored andcommitted
Merge branch 'suhogrozdje-master'
2 parents ec19488 + 8819c43 commit 823a408

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

examples/single-content-type/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"author": "Alid Castano <[email protected]>",
66
"dependencies": {
77
"@nuxtjs/axios": "^2.2.1",
8-
"nuxt": "^1.0.0-rc3",
9-
"nuxtent": "latest"
8+
"nuxt": "^1.0.0-rc11"
109
},
1110
"scripts": {
1211
"dev": "nuxt",

lib/module.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default function ContentModule(moduleOpts) {
4747
srcDir: '/content',
4848
componentsDir: '/components',
4949
buildDir: `/content`,
50-
isStatic: userOptions.isStatic || process.env.STATIC || false,
50+
isStatic: userOptions.isStatic || process.env.STATIC || false,
5151

5252
content: contentOptions(userOptions.content, {
5353
page: null,
@@ -67,7 +67,7 @@ export default function ContentModule(moduleOpts) {
6767
},
6868

6969
api: {
70-
baseURL: `http://${host}:${port}`,
70+
baseURL: '',
7171
...userOptions.api,
7272
serverPrefix: `/content-api`,
7373
browserPrefix: `/_nuxt/content`
@@ -118,4 +118,4 @@ export default function ContentModule(moduleOpts) {
118118
})
119119
}
120120

121-
export { pkg as meta };
121+
export { pkg as meta }

0 commit comments

Comments
 (0)