Skip to content

Commit

Permalink
fix: __dirname
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowAgar25 committed Nov 9, 2024
1 parent a262832 commit a8b2c58
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/routes/syosetu/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import queryString from 'query-string';
import { Join } from 'narou/util/type';
import InvalidParameterError from '@/errors/types/invalid-parameter';

import { getCurrentPath } from '@/utils/helpers';
const __dirname = getCurrentPath(import.meta.url);

interface NarouSearchParams {
/**
* 作品種別の絞り込み Work Type Filter
Expand Down

0 comments on commit a8b2c58

Please sign in to comment.