Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uploadKit with multi sub domain #145

Open
awebc opened this issue Dec 27, 2018 · 1 comment
Open

uploadKit with multi sub domain #145

awebc opened this issue Dec 27, 2018 · 1 comment

Comments

@awebc
Copy link

awebc commented Dec 27, 2018

like:
upload url : http://api.xx.com/file/upload

at www.xx.com .user upload image with uploadKit widget,the upload url :http://api.xx.com/file/upload

some bugs : the delete url just work at single domain .
your code at uploadAction 128 line.
$output[$this->responseDeleteUrlParam] = Url::to([$this->deleteRoute, 'path' => $path]);

Maybe can update

@XzAeRo
Copy link
Member

XzAeRo commented Jan 7, 2019

Yes, it looks like a bug.

Anyway, you can extend the action class and implement your own solution to handle this multi-domain scenario. And maybe even send us a PR with some suggestions.

@XzAeRo XzAeRo transferred this issue from yii-starter-kit/yii2-starter-kit Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants