permissions
Browse files- server.js +1 -1
- src/components/tabs/tabs.tsx +1 -1
server.js
CHANGED
@@ -31,7 +31,7 @@ app.use(express.static(path.join(__dirname, "dist")));
|
|
31 |
app.get("/api/login", (_req, res) => {
|
32 |
res.redirect(
|
33 |
302,
|
34 |
-
`https://huggingface.co/oauth/authorize?client_id=${process.env.OAUTH_CLIENT_ID}&redirect_uri=${REDIRECT_URI}&response_type=code&scope=openid%20profile%
|
35 |
);
|
36 |
});
|
37 |
app.get("/auth/login", async (req, res) => {
|
|
|
31 |
app.get("/api/login", (_req, res) => {
|
32 |
res.redirect(
|
33 |
302,
|
34 |
+
`https://huggingface.co/oauth/authorize?client_id=${process.env.OAUTH_CLIENT_ID}&redirect_uri=${REDIRECT_URI}&response_type=code&scope=openid%20profile%20write-repos%20manage-repos%20inference-api&prompt=consent&state=1234567890`
|
35 |
);
|
36 |
});
|
37 |
app.get("/auth/login", async (req, res) => {
|
src/components/tabs/tabs.tsx
CHANGED
@@ -14,7 +14,7 @@ function Tabs({ children }: { children?: React.ReactNode }) {
|
|
14 |
</div>
|
15 |
<div className="flex items-center justify-end gap-3">
|
16 |
<a
|
17 |
-
href="https://huggingface.co/deepseek-ai/DeepSeek-V3-0324"
|
18 |
target="_blank"
|
19 |
className="text-[12px] text-gray-300 hover:brightness-120 flex items-center gap-1 font-code"
|
20 |
>
|
|
|
14 |
</div>
|
15 |
<div className="flex items-center justify-end gap-3">
|
16 |
<a
|
17 |
+
href="https://huggingface.co/deepseek-ai/DeepSeek-V3-0324?inference_provider=fireworks-ai"
|
18 |
target="_blank"
|
19 |
className="text-[12px] text-gray-300 hover:brightness-120 flex items-center gap-1 font-code"
|
20 |
>
|