Skip to content

Commit 402d391

Browse files
committed
change from resolve to join
1 parent 0ee25b9 commit 402d391

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/server.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@ if (process.env.BASIC_USERNAME && process.env.BASIC_PASSWORD) {
130130
app.use(
131131
'/.well-known/apple-developer-merchantid-domain-association',
132132
(req, res, next) => {
133-
const rootPath = path.resolve(__dirname, '../public/.well-known');
133+
const rootPath = path.join(__dirname, '../public/.well-known');
134134
const fileName = 'apple-developer-merchantid-domain-association';
135135

136-
console.log('rootPath: ', rootPath);
137-
console.log('fileName: ', fileName);
136+
console.log('rootPath 2: ', rootPath);
137+
console.log('fileName 2: ', fileName);
138138

139139
res.setHeader('Content-Type', 'text/plain');
140140

0 commit comments

Comments
 (0)