JWT Autorization / Logging in and registering
This commit is contained in:
10
node_modules/translate/node.js
generated
vendored
Normal file
10
node_modules/translate/node.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// Small manual test to see that it all works
|
||||
const translate = require('./translate');
|
||||
require('dotenv').load();
|
||||
|
||||
translate.engine = 'yandex';
|
||||
translate.key = process.env.YANDEX_KEY;
|
||||
|
||||
translate('Hello world', 'es').then(res => {
|
||||
console.log(res);
|
||||
});
|
||||
Reference in New Issue
Block a user