Created
April 20, 2025 19:14
-
-
Save Aaronontheweb/dd67dcc45d97fe081d43f9d872be9e74 to your computer and use it in GitHub Desktop.
Falco Static Files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Program | |
open Falco | |
open Falco.Routing | |
open Microsoft.AspNetCore.Builder | |
let wapp = WebApplication.Create() | |
wapp.UseRouting() | |
.UseDefaultFiles() | |
.UseStaticFiles() | |
.UseFalco([ | |
]) | |
.Run(Response.ofPlainText "Not found") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Program | |
open Falco | |
open Falco.Routing | |
open Microsoft.AspNetCore.Builder | |
let wapp = WebApplication.Create() | |
wapp.UseRouting() | |
.UseDefaultFiles() | |
.UseStaticFiles() | |
.Run(Response.ofPlainText "Not found") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks @pimbrouwers !