Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • R React Exercise
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Metrics
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Technology Interview
  • React Exercise
  • Merge requests
  • !1

Merged
Created Aug 05, 2021 by Brian Staruk@bstarukMaintainer

JSON Server Tweaks

  • Overview 0
  • Commits 2
  • Changes 4

While exploring this repo in preparation for the ES6 challenge, I found a couple small bugs that prevented me from completing a fetch request from the app (running on :3000) to the server (running on :6000).

  • I was getting a CORS issue, so I added CORS support to the express server
  • I was getting "Unsafe Port" errors in Chrome (Mac), so I changed the express server port from 6000 to 3001 (the app runs on 3000)
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: hotfix/jsonServerTweaks