Skip to content

Commit e25a0aa

Browse files
committed
Added .env
1 parent 2a87716 commit e25a0aa

File tree

11 files changed

+12
-3156
lines changed

11 files changed

+12
-3156
lines changed

.vs/ProjectSettings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"CurrentProjectSetting": null
3+
}

.vs/VSWorkspaceState.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"ExpandedNodes": [
3+
"",
4+
"\\server"
5+
],
6+
"PreviewInSolutionExplorer": false
7+
}

.vs/pasteit-rust/v17/.wsuo

14 KB
Binary file not shown.

.vs/slnx.sqlite

88 KB
Binary file not shown.

client/src/components/Form/Snippet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ import Footer from '../Footer';
7474
const selectedLanguageName = selectedLanguageArray[0];
7575
const handleCreateSnippet = () => {
7676
const content = code;
77-
axios.post('http://localhost:8080/submit', {
77+
axios.post('http://localhost:8081/submit', {
7878
content,
7979
selected_language: selectedLanguageName,
8080
})

client/src/components/Form/Success.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ console.log(token)
2424

2525
useEffect(() => {
2626
const fetchSnippet = async () => {
27-
const response = await axios.get(`http://localhost:8080/paste/${token}`);
27+
const response = await axios.get(`http://localhost:8081/paste/${token}`);
2828
setCode(response.data.content);
2929
setLanguage(response.data.selected_language);
3030
}

server-rust/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)