mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 01:41:44 +00:00
master -> develop (#20)
* Squash merge develop into master * feat: add automated production release workflow * feat: add Gitflow workflow for syncing branches * ci: update workflow runner to latest ubuntu version * feat: enable buf.build publishing on master and develop branches --------- Co-authored-by: Prad Nukala <prad@sonr.io>
This commit is contained in:
co-authored by
Prad Nukala
parent
7b0693ef67
commit
228adb7f93
@@ -0,0 +1,20 @@
|
||||
package vfs
|
||||
|
||||
import (
|
||||
"github.com/ipfs/boxo/files"
|
||||
)
|
||||
|
||||
var (
|
||||
kServiceWorkerFileName = "server/sw.js"
|
||||
kVaultFileName = "server/vault.wasm"
|
||||
kIndexFileName = "index.html"
|
||||
)
|
||||
|
||||
func AssembleDirectory() files.Directory {
|
||||
fileMap := map[string]files.Node{
|
||||
kVaultFileName: DWNWasmFile(),
|
||||
kServiceWorkerFileName: SWJSFile(),
|
||||
}
|
||||
|
||||
return files.NewMapDirectory(fileMap)
|
||||
}
|
||||
Reference in New Issue
Block a user