浏览代码

refactor: make companion output file point to root directory

Ifedapo Olarewaju 6 年之前
父节点
当前提交
e2a9cd3e4c
共有 3 个文件被更改,包括 4 次插入1 次删除
  1. 3 0
      .gitignore
  2. 1 1
      bin/companion
  3. 0 0
      output/.keep

+ 3 - 0
.gitignore

@@ -23,3 +23,6 @@ nohup.out
 examples/bundled-example/bundle.js
 examples/bundled-example/bundle.js
 uppy-*.tgz
 uppy-*.tgz
 .eslintcache
 .eslintcache
+
+output/*
+!output/.keep

+ 1 - 1
bin/companion

@@ -2,7 +2,7 @@
 sh ../env.sh
 sh ../env.sh
 
 
 env \
 env \
-  UPPYSERVER_DATADIR="./packages/@uppy/companion/output" \
+  UPPYSERVER_DATADIR="./output" \
   UPPYSERVER_DOMAIN="localhost:3020" \
   UPPYSERVER_DOMAIN="localhost:3020" \
   UPPYSERVER_PROTOCOL="http" \
   UPPYSERVER_PROTOCOL="http" \
   UPPYSERVER_PORT=3020 \
   UPPYSERVER_PORT=3020 \

+ 0 - 0
output/.keep