create-payload-app
Advanced tools
Comparing version 0.3.26 to 0.3.27
@@ -57,3 +57,3 @@ "use strict"; | ||
message: 'Enter MongoDB connection', | ||
initial: "mongodb://localhost/".concat(projectName === '.' | ||
initial: "mongodb://127.0.0.1/".concat(projectName === '.' | ||
? "payload-".concat(getRandomDigitSuffix()) | ||
@@ -60,0 +60,0 @@ : (0, slugify_1.default)(projectName)), |
@@ -7,3 +7,3 @@ import { buildConfig } from 'payload/config'; | ||
export default buildConfig({ | ||
serverURL: 'http://localhost:3000', | ||
serverURL: 'http://127.0.0.1:3000', | ||
admin: { | ||
@@ -23,2 +23,2 @@ user: Users.slug, | ||
}, | ||
}); | ||
}) |
@@ -10,15 +10,9 @@ import { buildConfig } from 'payload/config'; | ||
export default buildConfig({ | ||
serverURL: 'http://localhost:3000', | ||
serverURL: 'http://127.0.0.1:3000', | ||
admin: { | ||
user: Users.slug, | ||
}, | ||
collections: [ | ||
Categories, | ||
Posts, | ||
Tags, | ||
Users, | ||
Media, | ||
], | ||
collections: [Categories, Posts, Tags, Users, Media], | ||
typescript: { | ||
outputFile: path.resolve(__dirname, 'payload-types.ts') | ||
outputFile: path.resolve(__dirname, 'payload-types.ts'), | ||
}, | ||
@@ -28,2 +22,2 @@ graphQL: { | ||
}, | ||
}); | ||
}) |
@@ -7,12 +7,9 @@ import { buildConfig } from 'payload/config'; | ||
export default buildConfig({ | ||
serverURL: 'http://localhost:3000', | ||
serverURL: 'http://127.0.0.1:3000', | ||
admin: { | ||
user: Users.slug, | ||
}, | ||
collections: [ | ||
TodoLists, | ||
Users, | ||
], | ||
collections: [TodoLists, Users], | ||
typescript: { | ||
outputFile: path.resolve(__dirname, 'payload-types.ts') | ||
outputFile: path.resolve(__dirname, 'payload-types.ts'), | ||
}, | ||
@@ -22,2 +19,2 @@ graphQL: { | ||
}, | ||
}); | ||
}) |
@@ -40,3 +40,3 @@ { | ||
}, | ||
"version": "0.3.26", | ||
"version": "0.3.27", | ||
"devDependencies": { | ||
@@ -43,0 +43,0 @@ "@types/command-exists": "^1.2.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
85160
1659