Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (10 sloc) 286 Bytes
--
config = require("lapis.config").get!
local bucket
pcall ->
bucket = require "secret.storage_bucket"
unless bucket
import MockStorage from require "cloud_storage.mock"
s = MockStorage("static/storage", "http://127.0.0.1:8080")
bucket = s\bucket "default_bucket"
bucket