Use port 8757 for the dev server
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9f25457b24
commit
e0b5e05cce
2 files changed
+3
-3
No files matched your search
@@ -17,6 +17,6 @@
|
|||||||
},
|
},
|
||||||
"postCreateCommand": "pip install -U pip && pip install -U -r requirements.txt -r requirements-dev.txt",
|
"postCreateCommand": "pip install -U pip && pip install -U -r requirements.txt -r requirements-dev.txt",
|
||||||
"forwardPorts": [
|
"forwardPorts": [
|
||||||
8000
|
8757
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
function test() {
|
function test() {
|
||||||
$.post("http://localhost:8000/user/1/toggle-enabled", null, function () {
|
$.post("http://localhost:8757/user/1/toggle-enabled", null, function () {
|
||||||
console.log("success", arguments);
|
console.log("success", arguments);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<button onclick="test()">Change</button>
|
<button onclick="test()">Change</button>
|
||||||
|
|
||||||
<form action="http://localhost:8000/user/1/toggle-enabled" method="post">
|
<form action="http://localhost:8757/user/1/toggle-enabled" method="post">
|
||||||
<button type="submit">Submit</button>
|
<button type="submit">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in new issue
Block a user