Skip to content

Commit

Permalink
Test redirect URL
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikb committed Jul 23, 2023
1 parent d141b02 commit 3d3aca4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/stage3/main-win.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int __cdecl main() {
struct addrinfo *result = NULL, *ptr = NULL, hints;
char path[1000];
snprintf(path, 1000, "/%s", hash);
const char *host = "gg.eirikb.no";
const char *host = "ggcmd.z13.web.core.windows.net";
char header[1024];
snprintf(header, sizeof(header), "GET %s HTTP/1.1\r\nHost: %s\r\n\r\n", path,
host);
Expand Down
2 changes: 1 addition & 1 deletion src/stage3/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

int main() {
const long bufferSize = 65536;
const char *host = "gg.eirikb.no";
const char *host = "ggcmd.z13.web.core.windows.net";

char path[1000];
snprintf(path, 1000, "/%s", hash);
Expand Down

0 comments on commit 3d3aca4

Please sign in to comment.