parent
512b9257d2
commit
bbedec853f
|
@ -51,6 +51,3 @@ sw/precache-manifest.json
|
|||
public/workbox-*.js*
|
||||
public/*-development.js
|
||||
|
||||
# slashtags
|
||||
.slashtags/
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import models from '../models'
|
||||
import SDK, { SlashURL } from '@synonymdev/slashtags-sdk'
|
||||
import { Server } from '@synonymdev/slashtags-auth'
|
||||
import RAM from 'random-access-memory'
|
||||
|
||||
const HOUR = 1000 * 60 * 60
|
||||
|
||||
|
@ -21,7 +22,7 @@ const slashtags = global.slashtags || (() => {
|
|||
console.log('initing slashtags')
|
||||
const sdk = new SDK({
|
||||
primaryKey: process.env.SLASHTAGS_SECRET ? Buffer.from(process.env.SLASHTAGS_SECRET, 'hex') : undefined,
|
||||
storage: './.slashtags'
|
||||
storage: new RAM()
|
||||
})
|
||||
|
||||
// Get the default slashtag
|
||||
|
|
Loading…
Reference in New Issue