test key
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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']}');
|
||||
}
|
||||
Reference in New Issue
Block a user