Skip to content

Commit

Permalink
refactor: unused export
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Feb 23, 2024
1 parent 429a140 commit d1b0bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const defaultConfig = {
const LOCALHOSTS = ['localhost', '127.0.0.1', '0.0.0.0']
const isLocal = (host: string) => LOCALHOSTS.indexOf(host) !== -1

export const validateApiVersion = function validateApiVersion(apiVersion: string) {
function validateApiVersion(apiVersion: string) {
if (apiVersion === '1' || apiVersion === 'X') {
return
}
Expand Down

0 comments on commit d1b0bca

Please sign in to comment.