Updated readme with instructions
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:dart_frog/dart_frog.dart';
|
||||
import 'package:new_backend/shrink_ray.dart';
|
||||
|
||||
@@ -18,7 +16,7 @@ Future<Response> onRequest(RequestContext context, String urlPath) async {
|
||||
case null:
|
||||
return Response(statusCode: 404);
|
||||
default:
|
||||
return Response(statusCode: 302, headers: {'Location': maybeUrl});
|
||||
return Response(statusCode: 308, headers: {'Location': maybeUrl});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user