Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Administrator
/
chatgpt.ai-pro.org
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
3
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d82cedaa
authored
2024-05-14 10:12:14 +0800
by
Leff Tubat
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Removed condition for basic
1 parent
23379886
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
client/src/App.js
index.js
client/src/App.js
View file @
d82ceda
...
...
@@ -130,14 +130,14 @@ function App() {
if
(
data
.
status
===
'invalid'
){
if
(
data
.
limited
)
{
window
.
btutil_m
odalRegisterUpgrad
e
();
window
.
btutil_m
axUsag
e
();
return
;
}
if
(
data
&&
data
.
status
===
'max-tokens'
)
{
window
.
btutil_maxUsage
();
return
;
}
window
.
btutil_m
odalRegisterUpgrad
e
(
true
);
window
.
btutil_m
axUsag
e
(
true
);
return
;
}
// "gpt-3.5-turbo"
...
...
index.js
View file @
d82ceda
...
...
@@ -429,7 +429,7 @@ async function validation (aiwp_app_id, req, res) {
return
false
;
}
}
if
(
!
auth
.
subscription_type
||
(
auth
.
auth_version
===
'v2'
&&
auth
.
subscription_type
.
toLowerCase
()
===
'basic'
)
)
{
if
(
!
auth
.
subscription_type
||
auth
.
auth_version
===
'v2'
)
{
res
.
json
({
status
:
"invalid"
});
res
.
status
(
200
);
return
false
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment