view examples/blog/serve_and_backup.luan @ 1756:a4b232aa0554

serve.luan - allow extra args
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 05 Feb 2023 22:08:50 -0700
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")