view examples/blog/serve_and_backup.luan @ 1832:d55c3eaf21d7 default tip

add jar
author clarkton <ibraclarkton@gmail.com>
date Wed, 11 Dec 2024 17:17:56 +0000
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")