Skip to content

Commit 47bd71a

Browse files
committed
fix href for API Gateway's annoying prefix :D
1 parent 2f957fa commit 47bd71a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

oss/node-static-prefix/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ http.createServer((req, res) => {
88
<head>
99
<meta charset="utf-8">
1010
<title>Node Static</title>
11-
<link rel="stylesheet" href="/static/style.css">
11+
<link rel="stylesheet" href="static/style.css">
1212
</head>
1313
<body>
1414
<p>Hello World</p>

oss/node-static/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ http.createServer((req, res) => {
88
<head>
99
<meta charset="utf-8">
1010
<title>Node Static</title>
11-
<link rel="stylesheet" href="/style.css">
11+
<link rel="stylesheet" href="style.css">
1212
</head>
1313
<body>
1414
<p>Hello World</p>

0 commit comments

Comments
 (0)