Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration of Backend URL in Local File Service #8173

Closed
akoenig opened this issue Jul 17, 2024 · 2 comments
Closed

Configuration of Backend URL in Local File Service #8173

akoenig opened this issue Jul 17, 2024 · 2 comments

Comments

@akoenig
Copy link

akoenig commented Jul 17, 2024

More a generic question instead of an actual issue πŸ™‚ – How can I configure this value in my medusa-config.js (Medusa 2)?

@carlos-r-l-rodrigues
Copy link
Contributor

in your medusa-config:

[Modules.FILE]: {
  resolve: "@medusajs/file",
  options: {
    providers: [
      {
        resolve: "@medusajs/file-local-next",
        id: "local",
        options: {
          // These options are passed to the providers
          backend_url: "...",
        },
      },
    ],
  },
},

https://docs.medusajs.com/v2/resources/architectural-modules/file/local

@akoenig
Copy link
Author

akoenig commented Jul 17, 2024

Ah, sorry, missed this one in the docs. Thanks a lot, @carlos-r-l-rodrigues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants