Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
update getting cookie for global users
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerwooo committed Apr 26, 2022
1 parent ec3b5cc commit b69bd8d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
13 changes: 6 additions & 7 deletions Docs/components/HowToGetMyCookie.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ const HowToGetMyCookie = () => {
<div id="how-to-get-my-cookie" className="w-full p-4">
<div className="max-w-2xl mx-auto">
<h2 className="text-xl font-black mb-4">how to get my cookie?</h2>

<h3 className="font-bold mb-2">for 天空岛、世界树 server players</h3>
<p className="pb-4">
open{' '}
<a href="https://bbs.mihoyo.com/ys" target="_blank" rel="noopener noreferrer">
bbs.mihoyo.com/ys
</a>{' '}
in chrome, login, and press <kbd>F12</kbd> to open chrome developer tools. navigate to <code>Console</code>,
type in <code>document.cookie</code> and press <kbd>Enter</kbd>:
(if you are on 天空岛 or 世界树) or{' '}
<a href="http://www.hoyolab.com/home" target="_blank" rel="noopener noreferrer">
hoyolab.com/home
</a>{' '}
(if you are on asia/na/eu/sar) in chrome, login, and press <kbd>F12</kbd> to open chrome developer tools.
navigate to <code>Console</code>, type in <code>document.cookie</code> and press <kbd>Enter</kbd>:
</p>
<Image src={cookieScreenshot} alt="Cookie screenshot" />
<p className="pt-4">
Expand All @@ -27,9 +29,6 @@ const HowToGetMyCookie = () => {
if successful, you should be able to see the updated data inside the app - which will periodically update if
configuration stays valid, enjoy!
</p>

<h3 className="font-bold mb-2">for na, eu, asia, and sar server players</h3>
<p>(🚧 WIP)</p>
</div>
</div>
)
Expand Down
3 changes: 1 addition & 2 deletions Docs/components/PaimonUses.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ const PaimonUses = () => {
or{' '}
<a href="https://www.hoyolab.com/home" target="_blank" rel="noopener noreferrer">
hoyolab
</a>{' '}
(🚧 WIP)
</a>
</p>
</div>
</div>
Expand Down

1 comment on commit b69bd8d

@vercel
Copy link

@vercel vercel bot commented on b69bd8d Apr 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.