File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,7 +119,8 @@ void main() async {
119119 : '${Uri .base .origin }/dashboard/redirect.html' ,
120120 );
121121
122- final hackatimeRedirectUri = '${Uri .base .origin }/hackatime/redirect' ;
122+ final hackatimeRedirectUri =
123+ '${Uri .base .origin }/dashboard/hackatime/redirect' ;
123124 if (hackatimeClientId.isNotEmpty) {
124125 HackatimeService .configureHackatimeOAuth (
125126 clientId: hackatimeClientId,
Original file line number Diff line number Diff line change 4242 ]
4343 },
4444 {
45- "source" : " /hackatime/redirect" ,
45+ "source" : " /dashboard/ hackatime/redirect" ,
4646 "headers" : [
4747 {
4848 "key" : " Content-Security-Policy" ,
8383 ]
8484 },
8585 {
86- "source" : " /((?!redirect\\ .html|hackatime/redirect).*)" ,
86+ "source" : " /((?!redirect\\ .html|dashboard/ hackatime/redirect).*)" ,
8787 "headers" : [
8888 {
8989 "key" : " Content-Security-Policy" ,
126126 ],
127127 "rewrites" : [
128128 {
129- "source" : " /hackatime/redirect" ,
129+ "source" : " /dashboard/ hackatime/redirect" ,
130130 "destination" : " /hackatime/redirect/index.html"
131131 },
132132 {
133- "source" : " /((?!manifest\\ .json|favicon\\ .ico|icons/|assets/|flutter_bootstrap\\ .js|main\\ .dart\\ .js|flutter_service_worker\\ .js|version\\ .json|hackatime/redirect).*)" ,
133+ "source" : " /((?!manifest\\ .json|favicon\\ .ico|icons/|assets/|flutter_bootstrap\\ .js|main\\ .dart\\ .js|flutter_service_worker\\ .js|version\\ .json|dashboard/ hackatime/redirect).*)" ,
134134 "destination" : " /index.html"
135135 }
136136 ]
You can’t perform that action at this time.
0 commit comments