Recent

Author Topic: Www folder with brook framework  (Read 2366 times)

promisetom

  • New Member
  • *
  • Posts: 11
Www folder with brook framework
« on: September 04, 2021, 12:46:58 am »
I am setting up a little web server using the Brook framework SEE.
How can I set a home www folder so the files can be served from this not a string.
Thanks Tom

Renat.Su

  • Full Member
  • ***
  • Posts: 209
    • Renat.Su
Re: Www folder with brook framework
« Reply #1 on: September 12, 2021, 11:41:08 am »
Do you want the server to rote only static page files in certain folder?
There is a unit for this in BrookForFreePascal called BrookStaticFileBroker

promisetom

  • New Member
  • *
  • Posts: 11
Re: Www folder with brook framework
« Reply #2 on: November 03, 2021, 12:49:32 am »
Sorry for the late reply. The site will have many html files with css, js and image folders.
I want to use Server Send Events so I can update the page content.
I have a b4j (Basic 4 Java) version up and going here.
https://chatabox.zapto.org
I want to build the same in Lazarus and serve it on a Raspberry Pi 400
Tom 

 

TinyPortal © 2005-2018