a lot of stuff

This commit is contained in:
2020-09-18 21:00:59 +02:00
parent 789dc37452
commit 22b2225a41
21 changed files with 1658 additions and 74 deletions

6
src/shared/db.js Normal file
View File

@@ -0,0 +1,6 @@
import NeDB from 'nedb-promises'
export const Logs = NeDB.create({
filename: 'logs.db',
autoload: true,
})

3
src/shared/utils.js Normal file
View File

@@ -0,0 +1,3 @@
import browser from 'webextension-polyfill'
export const dashboard = browser.runtime.getURL('./src/dashboard/index.html')