Comparing version 0.0.1-beta.5 to 0.0.1-beta.6
@@ -16,2 +16,3 @@ "use strict"; | ||
var cors = require("cors"); | ||
var path = require("path"); | ||
var child_process_1 = require("child_process"); | ||
@@ -111,3 +112,3 @@ var file = (function () { | ||
app.use(cors()); | ||
app.use(express.static('public')); | ||
app.use(express.static(path.resolve(__dirname, '../public'))); | ||
app.use(express.json()); | ||
@@ -114,0 +115,0 @@ app.post('/append', function (req, res) { |
{ | ||
"name": "afr-ls", | ||
"version": "0.0.1-beta.5", | ||
"version": "0.0.1-beta.6", | ||
"description": "Alfred List", | ||
@@ -5,0 +5,0 @@ "bin": "lib/bin.js", |
import * as fs from 'fs-extra'; | ||
import * as express from 'express'; | ||
import * as cors from 'cors'; | ||
import * as path from 'path'; | ||
import { execSync } from 'child_process'; | ||
@@ -134,3 +135,3 @@ | ||
app.use(cors()); | ||
app.use(express.static('public')); | ||
app.use(express.static(path.resolve(__dirname, '../public'))); | ||
app.use(express.json()); | ||
@@ -137,0 +138,0 @@ |
22373
523