Skip to content

export Server as a value not a path #135

Closed
@scottcorgan

Description

@scottcorgan

Right now, to run Superstatic as a server:

var superstatic = require('superstatic/lib/server');
var app = superstatic();
app.listen();

It should be:

var server = require('superstatic').server;
var app = server();
app.listen():

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions