Skip to content

Commit

Permalink
fix: url s 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ssojungg committed Jan 31, 2024
1 parent 602f4aa commit 3d3c803
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/controller/surveyCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const createSurveyWithQuestionsAndChoices = async (req, res) => {
} = req.body;

// surveyUrl을 미리 정의
const surveyUrl = `http://www.formflex.site/surveys/placeholder`;
const surveyUrl = `https://www.formflex.site/surveys/placeholder`;

const survey = await Survey.create(
{
Expand All @@ -38,7 +38,7 @@ const createSurveyWithQuestionsAndChoices = async (req, res) => {
);

const surveyId = survey.id;
const updatedSurveyUrl = `http://www.formflex.site/responseform?id=${surveyId}`;
const updatedSurveyUrl = `https://www.formflex.site/responseform?id=${surveyId}`;

await Survey.update(
{ url: updatedSurveyUrl },
Expand Down

0 comments on commit 3d3c803

Please sign in to comment.