Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions apps/client/public/assets/onBoarding/story/macNotice.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
4 changes: 2 additions & 2 deletions apps/client/public/firebase-messaging-sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ firebase.initializeApp(firebaseConfig);
const messaging = firebase.messaging();

messaging.onBackgroundMessage((payload) => {
const url = payload.data?.url || 'https://www.pinback.today';
const url = payload.data?.url || 'https://pinback.today';
const notificationTitle = payload.notification?.title || 'pinback';
const notificationOptions = {
body: payload.notification?.body || '저장한 북마크를 확인해 보세요!',
Expand All @@ -48,7 +48,7 @@ messaging.onBackgroundMessage((payload) => {
});

self.addEventListener('notificationclick', (event) => {
const targetUrl = event.notification.data?.url || 'https://www.pinback.today';
const targetUrl = event.notification.data?.url || 'https://pinback.today';

fetch(
`https://www.google-analytics.com/mp/collect?measurement_id=G-847ZNSCC3J&api_secret=1hei57fPTKyGX5Cw73rwgA`,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MacNotice from '/assets/onBoarding/story/macNotice.webp';
import MacNotice from '/assets/onBoarding/story/macNotice.svg';
import dotori from '/assets/onBoarding/icons/dotori.svg';
const MacStep = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion apps/client/src/shared/apis/setting/axiosInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ apiRequest.interceptors.response.use(
) {
originalRequest._retry = true;

localStorage.removeItem('token');
// localStorage.removeItem('token');
window.location.href = '/onboarding?step=SOCIAL_LOGIN';

return Promise.reject(error);
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const App = () => {
};

const handleDuplicateRightClick = () => {
chrome.tabs.create({ url: 'https://www.pinback.today/' });
chrome.tabs.create({ url: 'https://pinback.today/' });
};

return (
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
if (details.reason === 'install') {
chrome.identity.getProfileUserInfo(function (info) {
chrome.storage.local.set({ email: info.email }, () => {
console.log('User email saved:');

Check warning on line 5 in apps/extension/src/background.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement
});
setTimeout(() => {
chrome.tabs.create({
url: `https://www.pinback.today/onboarding?email=${info.email}`,
url: `https://pinback.today/onboarding?email=${info.email}`,
});
}, 1000);
});
Expand All @@ -16,7 +16,7 @@
chrome.runtime.onMessage.addListener((message) => {
if (message.type === 'SET_TOKEN') {
chrome.storage.local.set({ token: message.token }, () => {
console.log('Token saved!');

Check warning on line 19 in apps/extension/src/background.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement
});
}
});
2 changes: 1 addition & 1 deletion apps/extension/src/pages/LogOutPop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const LogOutPop = () => {
type="button"
onClick={() => {
chrome.tabs.create({
url: 'https://www.pinback.today/onboarding?step=SOCIAL_LOGIN',
url: 'https://pinback.today/onboarding?step=SOCIAL_LOGIN',
});
}}
>
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/src/shared/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Header = () => {
onMouseEnter={() => setIsHover(true)}
onMouseLeave={() => setIsHover(false)}
onClick={() => {
chrome.tabs.create({ url: 'https://www.pinback.today/' });
chrome.tabs.create({ url: 'https://pinback.today/' });
}}
/>
<Icon name="main_logo" width={72} height={20} />
Expand Down
Loading