Skip to content

Commit

Permalink
More updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof-Cieslak committed Jul 14, 2018
1 parent 42907ea commit bbacc87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Content/src/SaturnServer/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ let app = application {
pipe_through endpointPipe

error_handler (fun ex _ -> pipeline { render_html (InternalError.layout ex) })
router Router.router
use_router Router.appRouter
url "http://0.0.0.0:8085/"
memory_cache
memory_cache
use_static "static"
use_gzip
use_config (fun _ -> {connectionString = "DataSource=database.sqlite"} ) //TODO: Set development time configuration
Expand Down
2 changes: 1 addition & 1 deletion Content/src/SaturnServer/Router.fs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ let browserRouter = router {
// forward "/someApi" someScopeOrController
// }

let router = scope {
let appRouter = router {
// forward "/api" apiRouter
forward "" browserRouter
}

0 comments on commit bbacc87

Please sign in to comment.