2022-10-18 16:29:01 +00:00
|
|
|
import {Redirect} from './base.js';
|
|
|
|
|
2022-10-20 14:22:57 +00:00
|
|
|
export class SimpleRedirect extends Redirect {
|
2022-10-18 16:29:01 +00:00
|
|
|
public redirect(): URL {
|
2022-10-20 14:22:57 +00:00
|
|
|
return new URL(this.parameters.redirectValue);
|
2022-10-18 20:00:42 +00:00
|
|
|
}
|
2022-10-18 16:29:01 +00:00
|
|
|
}
|