mirror of https://github.com/thaldrin/thaldrin.git
move database stufff to modulus
This commit is contained in:
parent
d47197062f
commit
6145477a66
|
@ -1,9 +1,16 @@
|
|||
import { createClient } from '@supabase/supabase-js'
|
||||
import config from '../../config'
|
||||
import { Server } from "./types";
|
||||
// import { createClient } from '@supabase/supabase-js'
|
||||
// import config from '../../config'
|
||||
// import { Server } from "./types";
|
||||
|
||||
const supabase = createClient(config.supabase.url, config.supabase.key)
|
||||
// const supabase = createClient(config.supabase.url, config.supabase.key)
|
||||
|
||||
|
||||
|
||||
export default supabase
|
||||
// export default supabase
|
||||
|
||||
import Modulus from "../utils/modulus/src/index";
|
||||
|
||||
const modulus = new Modulus()
|
||||
|
||||
|
||||
export default modulus
|
Loading…
Reference in New Issue