서연진

public 추가

......@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HomePurchaseAgePrediction</title>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;500;900&display=swap"
......@@ -20,7 +20,7 @@
사용자의 위치기반으로 집 구매 시기를 예측해드립니다 (사용자 위치 근처의
집을 찾아드립니다)
</h4>
<form action="/geolocation" method = "POST">
<form action="/geolocation" method="POST">
<div>
연봉(단위:만 원)
<input
......
......@@ -26,7 +26,7 @@ h4 {
body {
background-color: var(--main-bg-color);
background: no-repeat fixed 50% 50% url("./src/background.jpg");
background: no-repeat fixed 50% 50% url("../src/background.jpg");
color: var(--point-color);
}
......
const express = require('express');
const path = require('path');
const request = require('request');
const express = require("express");
const path = require("path");
const request = require("request");
const app = express();
app.use(express.static(path.join(__dirname,'kakao')));
app.use(express.static(path.join(__dirname, "kakao")));
app.use(express.static(path.join(__dirname, "public")));
app.listen(8080, function(req,res) {
app.listen(8080, function (req, res) {
console.log("server started at 8080");
});
app.get('/', function(req,res){
res.sendFile(path.join(__dirname+"/main.html"));
app.get("/", function (req, res) {
res.sendFile(path.join(__dirname + "/main.html"));
});
app.post('/geolocation', function(req,res){
res.sendFile(path.join(__dirname+"/kakao/kakaomap.html"));
app.post("/geolocation", function (req, res) {
res.sendFile(path.join(__dirname + "/kakao/kakaomap.html"));
});
......