view examples/blog/serve_and_backup.luan @ 1740:c9c974817d0c

add ServerSentEvents.sweep
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 03 Nov 2022 22:05:11 -0600
parents fc224a1bb6ea
children
line wrap: on
line source

require "java"
local BackupIndexWriter = require "java:goodjava.lucene.backup.BackupIndexWriter"
BackupIndexWriter.backupDomains = {"localhost"}

local Server = require "luan:http/Server.luan"
Server.serve("src")