Replies: 2 comments 2 replies
-
Hi @bulldoguk, There are two good ways. One is to set the Or you can still do it the old way. You just have to remember that the module name has changed: module.exports = {
modules: {
'@apostrophecms/db': {
uri: 'your URI here'
}
}
}; |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi Juan, did you try doing that? "uri" needs to be nested in an "options"
object, as do all module options (as opposed to module sections, like
"methods" or "init" or "fields").
…On Thu, Apr 7, 2022 at 8:08 AM Juan Irache ***@***.***> wrote:
I might be missing something very obvious, as I just started using
Apostrophe today, but I get this error
@apostrophecms/db (project level): uri is not a valid top level property
for an Apostrophe 3.x module. Make sure you nest regular module options in
the new "options" property.
—
Reply to this email directly, view it on GitHub
<#3386 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAH27IKMNJK7IESBBXYN3LVD325RANCNFSM5DKT2PVA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
--
THOMAS BOUTELL | CHIEF TECHNOLOGY OFFICER
APOSTROPHECMS | apostrophecms.com | he/him/his
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to fire up an APOS3 instance using Mongodb Atlas, which worked great on my APOS2 instance, but using the same data/local.js file does not seem to work on v3. When I try to setup my admin user, I get an error referencing the DB host as 127.0.0.1 - where is this setting and how can I override it??
Beta Was this translation helpful? Give feedback.
All reactions