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

Webpack dev server proxy #3368

Merged
merged 6 commits into from
Jun 29, 2021
Merged

Webpack dev server proxy #3368

merged 6 commits into from
Jun 29, 2021

Conversation

ActiveChooN
Copy link
Contributor

@ActiveChooN ActiveChooN commented Jun 25, 2021

Motivation and context

Added proxy to webpack dev server config to exclude server API variable from UI code and make cypress tests executable on the local environment.

How has this been tested?

No tests

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

Copy link
Member

@bsekachev bsekachev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't open admin page when built locally:
Screenshot from 2021-06-28 17-56-10

Probably need to update defaults in cvat-core/src/config.js also

@bsekachev
Copy link
Member

Also when I open a task page:

Screenshot from 2021-06-28 18-21-25

Also I would recommend to check Analytics button.

@bsekachev bsekachev merged commit 961bc58 into develop Jun 29, 2021
@nmanovic nmanovic deleted the dk/webpack-devserver-proxy branch June 29, 2021 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants