Skip to content

Commit 336757e

Browse files
added version notify url
1 parent 68387aa commit 336757e

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

Compiler_Engine/producer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ COPY . .
1010

1111
ENV PORT=5005
1212
ENV REDIS_PORT=6377
13-
ENV WS_SERVER_URL='http://10.0.2.2:4455'
13+
ENV WS_SERVER_URL='https://www.rtc-app.linkpc.net/notify'
1414

1515
EXPOSE 5005
1616

Compiler_Engine/producer/producer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ await pyQueueEvents.waitUntilReady();
2828

2929
app.post("/run", async (req, res) => {
3030
const { language, code, input, sessionId, mainFile } = req.body;
31+
console.log("Recieved Job ", language, sessionId);
3132

3233
if (!SUPPORTED_LANGUAGES.includes(language)) {
3334
return res.status(400).json({

Frontend/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<link rel="icon" type="image/svg+xml" href="/RTC.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>RTC Editor</title>
88
</head>

Frontend/public/RTC.svg

Lines changed: 1 addition & 0 deletions
Loading

Frontend/src/Contexts/EditorContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export const EditorCollaborationProvider: React.FC<{
233233
try {
234234
setLoading(true);
235235
setGitOperationLoading(true);
236-
236+
237237
const response = await fetch(`${CODESPACE_API_URL}/${codespaceId}`, {
238238
headers: getAuthHeader(),
239239
});

0 commit comments

Comments
 (0)