mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-22 21:08:12 +08:00
chore(client): adjust backend placeholder with localhost (#59765)
This commit is contained in:
parent
2541f93fb9
commit
ce7845365c
@ -81,7 +81,7 @@ export class SolutionForm extends Component<SolutionFormProps> {
|
||||
case challengeTypes.backend:
|
||||
formFields = solutionField;
|
||||
options.isLocalLinkAllowed = true;
|
||||
solutionLink = solutionLink + 'https://3000-project-url.gitpod.io/';
|
||||
solutionLink = solutionLink + 'http://localhost:3000/';
|
||||
break;
|
||||
|
||||
case challengeTypes.backEndProject:
|
||||
@ -89,7 +89,7 @@ export class SolutionForm extends Component<SolutionFormProps> {
|
||||
// options.required.push('githubLink');
|
||||
options.isSourceCodeLinkRequired = true;
|
||||
options.isLocalLinkAllowed = true;
|
||||
solutionLink = solutionLink + 'https://3000-project-url.gitpod.io/';
|
||||
solutionLink = solutionLink + 'http://localhost:3000/';
|
||||
solutionFormID = 'back-end-form';
|
||||
break;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user