mirror of
https://github.com/amark/gun.git
synced 2025-06-09 23:56:43 +00:00
8 lines
169 B
TypeScript
8 lines
169 B
TypeScript
import { NgModule, Injectable } from '@angular/core';
|
|
import Gun from 'gun/gun';
|
|
|
|
@Injectable()
|
|
export class GunDb {
|
|
readonly gun = Gun(location.origin + '/gun');
|
|
}
|