Updates
This commit is contained in:
@@ -23,4 +23,23 @@
|
||||
<Content Include="sass\core.sass" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="wwwroot\scripts\htmx.min.js">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="wwwroot\scripts\index.js">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="wwwroot\scripts\json-enc.js">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="wwwroot\styles\core.css.map" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Update="wwwroot\styles\core.css">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ActiveDebugProfile>http</ActiveDebugProfile>
|
||||
<NameOfLastUsedPublishProfile>C:\Users\dredgy\RiderProjects\AirportAlphabetGame\AirportAlphabetGame\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
|
||||
|
||||
@@ -7,10 +7,6 @@ open Types
|
||||
|
||||
module Program =
|
||||
|
||||
let pipeline = pipeline {
|
||||
use_warbler
|
||||
}
|
||||
|
||||
let router = router {
|
||||
not_found_handler (setStatusCode 404 >=> text "404")
|
||||
get "/" ( (View.index [||]) |> htmlView)
|
||||
@@ -23,7 +19,6 @@ module Program =
|
||||
}
|
||||
|
||||
let ServiceConfig (services: IServiceCollection) = services.AddHttpContextAccessor()
|
||||
let ipAddress = System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName()).AddressList[2];
|
||||
let app =
|
||||
application {
|
||||
use_mime_types [(".woff", "application/font-woff")]
|
||||
@@ -34,5 +29,4 @@ module Program =
|
||||
url "http://*:5001"
|
||||
}
|
||||
|
||||
app.Properties["host.AppMode"] <- "development"
|
||||
run app
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module View
|
||||
module View
|
||||
|
||||
open System
|
||||
open Htmx
|
||||
|
||||
Reference in New Issue
Block a user