Either one is fine depending on which aspect you focus on.
Literal
Which [to-に] focus [object-を] place [question-か][means-で] either fine [probably-でしょ].
主眼をおく 'to place the focus/emphasis.' どっちに…かで 'depending on which' — the question word + で creates a conditional. どちらでもいい 'either is fine.' A practical, tolerant response to a question with two valid answers.