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

Task button doesn't work #1234

Closed
yxftju opened this issue Mar 4, 2020 · 1 comment
Closed

Task button doesn't work #1234

yxftju opened this issue Mar 4, 2020 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@yxftju
Copy link

yxftju commented Mar 4, 2020

I found that the task button in the annotation page jump to localhost:3000 in the most recent version on develope branch, which should be CVAT_HOST:UI_PORT. I found that the most recent version docker-compost.yml has no UI_HOST UI_PORT environment. A new CVAT_HOST environment has been specified.But In the code cvat/settings/base.py it still use UI_HOST and UI_PORT to get UI_URL .

UI_SCHEME = os.environ.get('UI_SCHEME', 'http')
UI_HOST = os.environ.get('UI_HOST', 'localhost')
UI_PORT = os.environ.get('UI_PORT', '3000')
CORS_ALLOW_CREDENTIALS = True
CSRF_TRUSTED_ORIGINS = [UI_HOST]
UI_URL = '{}://{}'.format(UI_SCHEME, UI_HOST)

It seems this cause the task button guide us to localhost:3000 in the annotation page.
I think this should be modify to use CVAT_HOST and the port should be 8080 in the newest version.

@azhavoro azhavoro added the bug Something isn't working label Mar 5, 2020
@azhavoro azhavoro self-assigned this Mar 5, 2020
@azhavoro
Copy link
Contributor

azhavoro commented Mar 5, 2020

Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants