템플릿 초기 버전
This commit is contained in:
12
index.js
Normal file
12
index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// 내 앱의 시작점입니다. Claude Code에게 "이 앱을 ~하게 바꿔줘"라고 요청하세요.
|
||||
// 규칙: 반드시 0.0.0.0:8080 에서 HTTP 서비스해야 합니다 (배포 규격).
|
||||
const http = require("http");
|
||||
|
||||
const server = http.createServer((req, res) => {
|
||||
res.writeHead(200, { "Content-Type": "text/html; charset=utf-8" });
|
||||
res.end("<h1>안녕하세요! 나의 첫 Playground 앱입니다 🎉</h1>");
|
||||
});
|
||||
|
||||
server.listen(8080, "0.0.0.0", () => {
|
||||
console.log("listening on 8080");
|
||||
});
|
||||
Reference in New Issue
Block a user