mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-20 20:04:26 +00:00
chore: rename prefix to /s
This commit is contained in:
@@ -128,7 +128,7 @@ const CreateShortcutDialog: React.FC<Props> = (props: Props) => {
|
||||
Name <span className="text-red-600">*</span>
|
||||
</span>
|
||||
<div className="relative w-full">
|
||||
<span className="absolute z-1 top-2 left-3 text-gray-400">o/</span>
|
||||
<span className="absolute z-1 top-2 left-3 text-gray-400">s/</span>
|
||||
<Input
|
||||
className="w-full !pl-7"
|
||||
type="text"
|
||||
|
@@ -24,7 +24,7 @@ const ShortcutListView: React.FC<Props> = (props: Props) => {
|
||||
};
|
||||
|
||||
const handleCopyButtonClick = (shortcut: Shortcut) => {
|
||||
copy(absolutifyLink(`/o/${shortcut.name}`));
|
||||
copy(absolutifyLink(`/s/${shortcut.name}`));
|
||||
toast.success("Shortcut link copied to clipboard.");
|
||||
};
|
||||
|
||||
|
@@ -8,11 +8,11 @@ export default defineConfig({
|
||||
host: "0.0.0.0",
|
||||
port: 3000,
|
||||
proxy: {
|
||||
"/api": {
|
||||
"/api/": {
|
||||
target: "http://localhost:8082/",
|
||||
changeOrigin: true,
|
||||
},
|
||||
"/o": {
|
||||
"/s/": {
|
||||
target: "http://localhost:8082/",
|
||||
changeOrigin: true,
|
||||
},
|
||||
|
Reference in New Issue
Block a user