Skip to content

Commit 9858ec6

Browse files
committed
feat: manually removed redirect
1 parent cc17f1b commit 9858ec6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

frontend/client_page_frontastic_page_get.go

-7
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,6 @@ func (rb *FrontasticPageRequestMethodGet) Execute(ctx context.Context) (result *
6161
return nil, err
6262
}
6363
return result, nil
64-
case 301:
65-
errorObj := RedirectResponse{}
66-
err = json.Unmarshal(content, &errorObj)
67-
if err != nil {
68-
return nil, err
69-
}
70-
return nil, errorObj
7164
case 404:
7265
return nil, ErrNotFound
7366
default:

0 commit comments

Comments
 (0)