mirror of
https://github.com/cupcakearmy/ora.git
synced 2026-04-02 12:05:23 +00:00
a lot of stuff
This commit is contained in:
6
src/shared/db.js
Normal file
6
src/shared/db.js
Normal 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
3
src/shared/utils.js
Normal file
@@ -0,0 +1,3 @@
|
||||
import browser from 'webextension-polyfill'
|
||||
|
||||
export const dashboard = browser.runtime.getURL('./src/dashboard/index.html')
|
||||
Reference in New Issue
Block a user