Skip to content

Commit

Permalink
Did away with old snowy-stream urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Spicer Matthews committed Jun 19, 2024
1 parent 22555d7 commit fb03691
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/Leaderboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import Modal from '@material-ui/core/Modal'
import IconButton from '@material-ui/core/IconButton'
import CloseIcon from '@material-ui/icons/Close'

const iframeUrl =
'https://snowy-stream-wljibw2liswn.vapor-farm-g1.com/newtab/leaderboard?user_id='
const iframeUrl = `${process.env.NEXT_PUBLIC_API_ENDPOINT}/v5/leaderboard?user_id=`

const Leaderboard = ({ user, openWidgetFunc, onCloseFunc }) => {
const [openWidget, setOpenWidget] = useState(false)
Expand Down
2 changes: 1 addition & 1 deletion src/components/notification/Notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const Notification = ({ slot, user, onOpenLeaderboard }) => {
<>
{show && (
<iframe
src={`${process.env.NEXT_PUBLIC_API_ENDPOINT}/newtab/notifications?user_id=${user.userId}&slot=${slot}&override=${sParams.NotificationOverride}`}
src={`${process.env.NEXT_PUBLIC_API_ENDPOINT}/v5/notifications?user_id=${user.userId}&slot=${slot}&override=${sParams.NotificationOverride}`}
title={`notification-${slot}`}
style={{ marginTop: '10px', marginBottom: '10px' }}
width="100%"
Expand Down

0 comments on commit fb03691

Please sign in to comment.