view examples/blog/serve_and_backup.luan @ 1718:5603ee8e2a71

rename String.rep to String.repeated
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 25 Jul 2022 11:32:05 -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")