Skip to content

Commit

Permalink
remove comments, fix analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Oct 12, 2024
1 parent c7fc2ed commit d74e897
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs-bundle-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
uses: dawidd6/action-download-artifact@v2
if: success() && github.event.number
with:
workflow: nextjs_bundle_analysis.yml
workflow: Preview @fern-ui/docs-bundle
branch: ${{ github.event.pull_request.base.ref }}
path: packages/ui/docs-bundle/.next/analyze/base

Expand Down
13 changes: 0 additions & 13 deletions packages/ui/app/src/util/withSkewProtection.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
// const deploymentId = process.env.NEXT_DEPLOYMENT_ID;
// export function withSkewProtection(url: string): string {
// if (!deploymentId) {
// return url;
// }

// if (url.includes("?")) {
// return `${url}&dpl=${deploymentId}`;
// } else {
// return `${url}?dpl=${deploymentId}`;
// }
// }

const deploymentId = process.env.NEXT_DEPLOYMENT_ID;

// appears to be a browser bug where `Headers` object is not settable, so we will use a plain object instead
Expand Down

0 comments on commit d74e897

Please sign in to comment.