소스 검색

docs: update server docs cc @arturi

Ifedapo Olarewaju 7 년 전
부모
커밋
1688ff645e
2개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 2
      examples/bundled-example/main.js
  2. 0 2
      website/src/docs/server.md

+ 1 - 2
examples/bundled-example/main.js

@@ -15,8 +15,7 @@ const Form = require('../../src/plugins/Form')
 // const DragDrop = require('../../src/plugins/DragDrop')
 // const GoldenRetriever = require('../../src/plugins/GoldenRetriever')
 
-const PROTOCOL = location.protocol === 'https:' ? 'https' : 'http'
-const TUS_ENDPOINT = PROTOCOL + '://master.tus.io/files/'
+const TUS_ENDPOINT = 'https://master.tus.io/files/'
 
 const uppy = Uppy({
   debug: true,

+ 0 - 2
website/src/docs/server.md

@@ -396,8 +396,6 @@ npm run start:dev
 
 This would get the uppy-server running on `http://localhost:3020`.
 
-It also expects the [uppy client](https://github.com/transloadit/uppy) to be running on `http://localhost:3452` by default.
-
 ## Running example
 
 You can checkout uppy-server [repository](https://github.com/transloadit/uppy-server) to see how we run [server.uppy.io](https://server.uppy.io).