Skip to content

Commit

Permalink
suggestion(server): remove redundant exports from server/index
Browse files Browse the repository at this point in the history
  • Loading branch information
Вахрамеев Сергей Сергеевич authored and Вахрамеев Сергей Сергеевич committed Dec 19, 2024
1 parent cd7f623 commit 5bb1ca2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/server/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
export * from './is-webview-environment';
export * from './extract-native-params';
export * from './set-native-params-cookie';
export * from './handle-native-params';
1 change: 1 addition & 0 deletions src/server/is-webview-environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { extractAppVersion, extractUserAgent, extractNativeParams } from './util
import { UniversalRequest } from './types';
import { versionPattern, webviewUaIOSPattern } from './reg-exp-patterns';

// Определяет, был ли сделан запрос из вебвью окружения.
export const isWebviewEnvironment = (request: UniversalRequest) => {
const nativeParams = extractNativeParams(request);

Expand Down

0 comments on commit 5bb1ca2

Please sign in to comment.