Skip to content

Commit

Permalink
change from resolve to join
Browse files Browse the repository at this point in the history
  • Loading branch information
raclim committed Dec 4, 2024
1 parent 0ee25b9 commit 402d391
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ if (process.env.BASIC_USERNAME && process.env.BASIC_PASSWORD) {
app.use(
'/.well-known/apple-developer-merchantid-domain-association',
(req, res, next) => {
const rootPath = path.resolve(__dirname, '../public/.well-known');
const rootPath = path.join(__dirname, '../public/.well-known');
const fileName = 'apple-developer-merchantid-domain-association';

console.log('rootPath: ', rootPath);
console.log('fileName: ', fileName);
console.log('rootPath 2: ', rootPath);
console.log('fileName 2: ', fileName);

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

Expand Down

0 comments on commit 402d391

Please sign in to comment.