fix: Rename freeflowuniverse to incubaid
This commit is contained in:
@@ -14,7 +14,7 @@ A comprehensive REST API server for the HeroFS distributed filesystem, built wit
|
||||
## Quick Start
|
||||
|
||||
```v
|
||||
import freeflowuniverse.herolib.hero.herofs_server
|
||||
import incubaid.herolib.hero.herofs_server
|
||||
|
||||
// Create and start server
|
||||
mut server := herofs_server.new(
|
||||
|
||||
@@ -2,7 +2,7 @@ module herofs_server
|
||||
|
||||
import veb
|
||||
import json
|
||||
import freeflowuniverse.herolib.hero.herofs
|
||||
import incubaid.herolib.hero.herofs
|
||||
|
||||
// =============================================================================
|
||||
// BLOB ENDPOINTS
|
||||
|
||||
@@ -2,7 +2,7 @@ module herofs_server
|
||||
|
||||
import veb
|
||||
import json
|
||||
import freeflowuniverse.herolib.hero.herofs
|
||||
import incubaid.herolib.hero.herofs
|
||||
|
||||
// =============================================================================
|
||||
// DIRECTORY ENDPOINTS
|
||||
|
||||
@@ -2,7 +2,7 @@ module herofs_server
|
||||
|
||||
import veb
|
||||
import json
|
||||
import freeflowuniverse.herolib.hero.herofs
|
||||
import incubaid.herolib.hero.herofs
|
||||
|
||||
// =============================================================================
|
||||
// FILE ENDPOINTS
|
||||
|
||||
@@ -2,7 +2,7 @@ module herofs_server
|
||||
|
||||
import veb
|
||||
import json
|
||||
import freeflowuniverse.herolib.hero.herofs
|
||||
import incubaid.herolib.hero.herofs
|
||||
|
||||
// =============================================================================
|
||||
// FILESYSTEM ENDPOINTS
|
||||
|
||||
@@ -2,7 +2,7 @@ module herofs_server
|
||||
|
||||
import veb
|
||||
import json
|
||||
import freeflowuniverse.herolib.hero.herofs
|
||||
import incubaid.herolib.hero.herofs
|
||||
|
||||
// =============================================================================
|
||||
// FILESYSTEM TOOLS ENDPOINTS
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module herofs_server
|
||||
|
||||
import net.http
|
||||
import freeflowuniverse.herolib.ui.console
|
||||
import incubaid.herolib.ui.console
|
||||
|
||||
// Request logging middleware
|
||||
pub fn (mut server FSServer) middleware_log_request(mut ctx Context) {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
module herofs_server
|
||||
|
||||
import veb
|
||||
import freeflowuniverse.herolib.hero.herofs
|
||||
import freeflowuniverse.herolib.ui.console
|
||||
import freeflowuniverse.herolib.core.redisclient
|
||||
import incubaid.herolib.hero.herofs
|
||||
import incubaid.herolib.ui.console
|
||||
import incubaid.herolib.core.redisclient
|
||||
|
||||
// FSServer is the main server struct
|
||||
pub struct FSServer {
|
||||
@@ -29,7 +29,7 @@ pub mut:
|
||||
host string = 'localhost'
|
||||
cors_enabled bool = true
|
||||
allowed_origins []string = ['*']
|
||||
redis ?&redisclient.Redis
|
||||
redis ?&redisclient.Redis
|
||||
}
|
||||
|
||||
// Create a new filesystem server
|
||||
|
||||
@@ -344,5 +344,5 @@ MIT License - see the LICENSE file for details.
|
||||
## Related
|
||||
|
||||
- [HeroFS Server Documentation](../README.md)
|
||||
- [HeroLib Main Repository](https://github.com/freeflowuniverse/herolib)
|
||||
- [HeroLib Main Repository](https://github.com/incubaid/herolib)
|
||||
- [HeroFS API Specification](../handlers_common.v)
|
||||
|
||||
@@ -35,13 +35,13 @@
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/freeflowuniverse/herolib.git",
|
||||
"url": "https://github.com/incubaid/herolib.git",
|
||||
"directory": "lib/hero/herofs_server/typescript_client"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/freeflowuniverse/herolib/issues"
|
||||
"url": "https://github.com/incubaid/herolib/issues"
|
||||
},
|
||||
"homepage": "https://github.com/freeflowuniverse/herolib/tree/main/lib/hero/herofs_server/typescript_client",
|
||||
"homepage": "https://github.com/incubaid/herolib/tree/main/lib/hero/herofs_server/typescript_client",
|
||||
"engines": {
|
||||
"bun": ">=1.0.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user