This commit is contained in:
dmit.b
2026-06-25 17:25:43 +03:00
parent 2d1798a42f
commit 113916ff67
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -112,8 +112,7 @@ class AuthRoutes {
return response;
}
final envDotenv = DotEnv();
final registrationKey = envDotenv['REGISTRATION_SECRET_KEY'] ?? '';
final registrationKey = dotEnv['REGISTRATION_SECRET_KEY'] ?? '';
if (secretKey != registrationKey) {
stopwatch.stop();
-1
View File
@@ -59,5 +59,4 @@ void main(List<String> args) async {
final port = int.parse(dotenv['PORT'] ?? '9090');
final server = await serve(handler, ip, port);
print('Server listening on port ${server.port}');
print('secret is ${dotenv['REGISTRATION_SECRET_KEY']}');
}