Skip to content

Commit

Permalink
feat: script.js on edge
Browse files Browse the repository at this point in the history
  • Loading branch information
olros committed Mar 15, 2024
1 parent bf7260e commit eff08da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/app/routes/script[.js].ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import UglifyJS from 'uglify-js';

export const config = { runtime: 'edge' };

const pageviewScript = () => {
try {
const host = location.host;
Expand Down

0 comments on commit eff08da

Please sign in to comment.