Serverside stuff. Mostly shuffling things around
This commit is contained in:
parent
90667d96c7
commit
be70109c43
20 changed files with 513 additions and 71 deletions
9
main.go
9
main.go
|
@ -36,11 +36,6 @@ func main() {
|
|||
Str("config-file", *flagConfigFile).
|
||||
Msg("Failed to read config and couldn't write default")
|
||||
}
|
||||
// res, err := ap.GetAccountWebfinger("@aufricus_athudath@activitypub.academy")
|
||||
// log.Info().
|
||||
// Err(err).
|
||||
// Any("webfinger", res).
|
||||
// Msg("Webfinger request result for @aufricus_athudath@activitypub.academy")
|
||||
storageCache, err := cache.NewCache(
|
||||
config.GlobalConfig.Storage.MaxInMemoryCacheSize,
|
||||
config.GlobalConfig.Storage.RedisUrl,
|
||||
|
@ -79,8 +74,8 @@ func main() {
|
|||
server := server.NewServer(
|
||||
store,
|
||||
pkey,
|
||||
util.NewFSWrapper(reactiveFS, "frontend-reactive/dist/", true),
|
||||
util.NewFSWrapper(nojsFS, "frontend-noscript/", true),
|
||||
util.NewFSWrapper(reactiveFS, "frontend-reactive/dist/", false),
|
||||
util.NewFSWrapper(nojsFS, "frontend-noscript/", false),
|
||||
)
|
||||
server.Start(":8000")
|
||||
// TODO: Set up media server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue