ankitpokhrel / tus-php

🚀 A pure PHP server and client for the tus resumable upload protocol v1.0.0

Home Page:https://tus.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to customize the endpoints?

dausruddin opened this issue · comments

Hi.

I am trying to implement this into an existing project.
The project is using a direct file to upload , upload.php. But from what I see in installation, I need to configure path for the endpoints in webserver.

I know I can change the endpoints in client to upload.php, but will there be any issues?

Thank you.

commented

Hi @dausruddin, you can pass base url of the server when setting up the client as mentioned here. There shouldn't be any issue as long as the server is working fine.