nhost / nhost-dart

Nhost Dart & Flutter packages
https://nhost.io
MIT License
90 stars 33 forks source link

auth url incorrect #108

Closed marcusrohden closed 1 year ago

marcusrohden commented 1 year ago

Hey guys, I'm having some issues trying to run my local environment. The host lookup has an extra dot ( . ) betweeen auth and nhost.

'local.auth..nhost.run'

I'm currenly using the nhost_dart: ^1.0.0

Follow my NhostClient and exception log.

return NhostClient(subdomain: Subdomain(subdomain: 'local', region: ''),

[log] Error trying to login: Failed host lookup: 'local.auth..nhost.run'

mhadaily commented 1 year ago

Hi, Are you trying to use it localhost? in this case

for local development, pass 'localhost' or 'localhost:1337' to the subdomain
dbarrosop commented 1 year ago

Solved in #119