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