Vibe-d doesn't seem to work on Windows anymore
Ruby The Roobster
michaeleverestc79 at gmail.com
Sat Oct 21 22:29:39 UTC 2023
On Saturday, 21 October 2023 at 13:43:30 UTC, Imperatorn wrote:
> On Saturday, 21 October 2023 at 12:38:33 UTC, Ruby The Roobster
> wrote:
>> On Saturday, 21 October 2023 at 07:53:15 UTC, Imperatorn wrote:
>>> [...]
>> ```d
>> import vibe.d;
>>
>> void main()
>> {
>> // router
>> URLRouter router = new URLRouter();
>> router.get("/", staticTemplate!"home.dt"); // compiles
>> router.get("*", serveStaticFiles("/public"));
>>
>> auto settings = new HTTPServerSettings;
>> settings.port = 8080;
>> settings.bindAddresses = ["localhost", "::1", "127.0.0.1"];
>> listenHTTP(settings, router);
>>
>> logInfo("Server up at 127.0.0.1:8080");
>> }
>> ```
>>
>> It just tells me that three sockets were leaked at 'driver
>> shutdown' and terminates.
>
> You're not running your application:
>
> runApplication();
Oh. How did I miss this? Thank you.
More information about the Digitalmars-d
mailing list