8000 one-api/web at main · sajiawuwu/one-api · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
{"payload":{"allShortcutsEnabled":false,"path":"web","repo":{"id":663191729,"defaultBranch":"main","name":"one-api","ownerLogin":"sajiawuwu","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-07-06T18:56:03.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/7565691?v=4","public":true,"private":false,"isOrgOwned":false},"currentUser":null,"refInfo":{"name":"main","listCacheKey":"v0:1688669802.8813272","canEdit":false,"refType":"branch","currentOid":"280df277054585a732f3e635c00889abf400ebfc"},"tree":{"items":[{"name":"public","path":"web/public","contentType":"directory"},{"name":"src","path":"web/src","contentType":"directory"},{"name":".gitignore","path":"web/.gitignore","contentType":"file"},{"name":"README.md","path":"web/README.md","contentType":"file"},{"name":"package.json","path":"web/package.json","contentType":"file"},{"name":"vercel.json","path":"web/vercel.json","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":{"displayName":"README.md","richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eReact Template\u003c/h1\u003e\u003ca id=\"user-content-react-template\" class=\"anchor\" aria-label=\"Permalink: React Template\" href=\"#react-template\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eBasic Usages\u003c/h2\u003e\u003ca id=\"user-content-basic-usages\" class=\"anchor\" aria-label=\"Permalink: Basic Usages\" href=\"#basic-usages\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Runs the app in the development mode\nnpm start\n\n# Builds the app for production to the `build` folder\nnpm run build\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e Runs the app in the development mode\u003c/span\u003e\nnpm start\n\n\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e Builds the app for production to the `build` folder\u003c/span\u003e\nnpm run build\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eIf you want to change the default server, please set \u003ccode\u003eREACT_APP_SERVER\u003c/code\u003e environment variables before build,\nfor example: \u003ccode\u003eREACT_APP_SERVER=http://your.domain.com\u003c/code\u003e.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eBefore you start editing, make sure your \u003ccode\u003eActions on Save\u003c/code\u003e options have \u003ccode\u003eOptimize imports\u003c/code\u003e \u0026amp; \u003ccode\u003eRun Prettier\u003c/code\u003e enabled.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eReference\u003c/h2\u003e\u003ca id=\"user-content-reference\" class=\"anchor\" aria-label=\"Permalink: Reference\" href=\"#reference\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003col dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/OIerDb-ng/OIerDb\"\u003ehttps://github.com/OIerDb-ng/OIerDb\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/cornflourblue/react-hooks-redux-registration-login-example\"\u003ehttps://github.com/cornflourblue/react-hooks-redux-registration-login-example\u003c/a\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\u003c/article\u003e","errorMessage":null,"headerInfo":{"toc":[{"level":1,"text":"React Template","anchor":"react-template","htmlText":"React Template"},{"level":2,"text":"Basic Usages","anchor":"basic-usages","htmlText":"Basic Usages"},{"level":2,"text":"Reference","anchor":"reference","htmlText":"Reference"}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fsajiawuwu%2Fone-api%2Ftree%2Fmain%2Fweb"}},"totalCount":6,"showBranchInfobar":true},"fileTree":{"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":"bin","path":"bin","contentType":"directory"},{"name":"common","path":"common","contentType":"directory"},{"name":"controller","path":"controller","contentType":"directory"},{"name":"i18n","path":"i18n","contentType":"directory"},{"name":"middleware","path":"middleware","contentType":"directory"},{"name":"model","path":"model","contentType":"directory"},{"name":"router","path":"router","contentType":"directory"},{"name":"web","path":"web","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"Dockerfile","path":"Dockerfile","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.en.md","path":"README.en.md","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"VERSION","path":"VERSION","contentType":"file"},{"name":"docker-compose.yml","path":"docker-compose.yml","contentType":"file"},{"name":"go.mod","path":"go.mod","contentType":"file"},{"name":"go.sum","path":"go.sum","contentType":"file"},{"name":"main.go","path":"main.go","contentType":"file"},{"name":"one-api.service","path":"one-api.service","contentType":"file"}],"totalCount":20}},"fileTreeProcessingTime":16.315685,"foldersToFetch":[],"treeExpanded":true,"symbolsExpanded":false,"csrf_tokens":{"/sajiawuwu/one-api/branches":{"post":"L77T3Eh66HEG9U5rMqGIhscH5wRom9JZcVfQZVoXiaWPH6pu9Z_6o4kIZzcNa1vIryzBb8mv_VptTzppoO2zLA"},"/sajiawuwu/one-api/branches/fetch_and_merge/main":{"post":"PZpRssffQZ9Oc96I46Qb4QtOZicuvGMYgkC08v_WBiIEJWwwfnDXd91j9GGDqVhN2017-XzzFUioI2Fodk75FA"},"/sajiawuwu/one-api/branches/fetch_and_merge/main?discard_changes=true":{"post":"OZvvcXUzk4GaauM5jRn8dgMlpNIIBRYnEZZaGccdzvkAJNLzzJwFaQl6ydDtFL_a0ya5DFpKYHc79Y-DToUxzw"}}},"title":"one-api/web at main · sajiawuwu/one-api","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}
0