blob: aec678ec2243ed111c3c6cf09dffa3a297ad786b [file] [log] [blame]
Adrià Vilanova Martínez06fd5f42021-06-09 00:16:45 +02001<?php
2require('config_avatars.php');
3
4$username = $_GET['username'] ?? null;
5
6if (!array_key_exists($username, $USERS)) {
7 http_response_code(404);
8 exit();
9}
10
11header('Location: '.$USERS[$username]);